|
1 | | -### OBP-API mode ################################### |
2 | | -# If OBP-API split to two instances, eg: apis,portal |
3 | | -# Then API_Explorer need to set two api hosts: api_hostname and this api_portal_hostname, for all Rest Apis will call api_hostname |
4 | | -# but for all the portal home page link, we need to use this props. If do not set this, it will use api_hostname value instead. |
| 1 | +### OBP-API Configuration ### |
5 | 2 | VITE_OBP_API_PORTAL_HOST=http://127.0.0.1:8080 |
6 | | - |
7 | | - |
8 | 3 | VITE_OBP_API_HOST=http://127.0.0.1:8080 |
9 | 4 | VITE_OBP_API_VERSION=v5.1.0 |
10 | 5 | VITE_OBP_API_MANAGER_HOST=https://apimanagersandbox.openbankproject.com |
11 | | -VITE_OBP_API_EXPLORER_HOST=http://localhost:5173 |
12 | | -VITE_OBP_CONSUMER_KEY=0xzsimlrhdguiiuuj1ncykcxzjrogxibjff3dthl |
13 | | -VITE_OBP_CONSUMER_SECRET=ikf5wykke1oonykb33kmx3deh5ukbdak44ieg1l5 |
14 | | -VITE_OBP_REDIRECT_URL=http://localhost:5173/api/callback |
| 6 | +VITE_OBP_API_EXPLORER_HOST=http://localhost:5174 |
15 | 7 | VITE_OPB_SERVER_SESSION_PASSWORD=asidudhiuh33875 |
16 | | -# The above code connects to localhost on port 6379. |
17 | | -# To connect to a different host or port, use a connection string in the format |
18 | | -# redis[s]://[[username][:password]@][host][:port][/db-number] |
19 | | -# Be sure to secure your Redis instance |
20 | | -VITE_OBP_REDIS_URL = redis://127.0.0.1:6379 |
21 | 8 |
|
22 | | -# Enable the chatbot interface "Opey" |
| 9 | +### Redis Configuration ### |
| 10 | +VITE_OBP_REDIS_URL=redis://127.0.0.1:6379 |
| 11 | + |
| 12 | +### Opey Configuration ### |
23 | 13 | VITE_CHATBOT_ENABLED=true |
24 | 14 | VITE_CHATBOT_URL=http://localhost:5000 |
25 | 15 |
|
26 | | -# Product styling setting |
27 | | -#VITE_OBP_LINKS_COLOR="#52b165" |
28 | | -#VITE_OBP_HEADER_LINKS_COLOR="#39455f" |
29 | | -#VITE_OBP_HEADER_LINKS_HOVER_COLOR="#39455f" |
30 | | -#VITE_OBP_HEADER_LINKS_BACKGROUND_COLOR="#eef0f4" |
31 | | -#VITE_OBP_LOGO_URL=https://static.openbankproject.com/images/obp_logo.png |
32 | | - |
33 | | -# https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production |
34 | | -# The value could be: development, staging, production |
35 | | -# NODE_ENV=development |
36 | | - |
37 | | -#DEBUG=express-session |
38 | | - |
39 | | -### OAuth2/OIDC Configuration (New - Phase 1 Implementation) ### |
40 | | -# Set to 'true' to use OAuth2 instead of OAuth 1.0a |
41 | | -VITE_USE_OAUTH2=false |
42 | | - |
| 16 | +### OAuth2/OIDC Configuration ### |
43 | 17 | # OAuth2 Client Credentials (from OBP-OIDC) |
44 | | -# These should match the values in OBP-OIDC/run-server.sh |
45 | | -VITE_OBP_OAUTH2_CLIENT_ID=obp-explorer-ii-client |
46 | | -VITE_OBP_OAUTH2_CLIENT_SECRET=CHANGE_THIS_TO_EXPLORER_SECRET_2024 |
47 | | -VITE_OBP_OAUTH2_REDIRECT_URL=http://localhost:5173/oauth2/callback |
| 18 | +VITE_OBP_OAUTH2_CLIENT_ID=48ac28e9-9ee3-47fd-8448-69a62764b779 |
| 19 | +VITE_OBP_OAUTH2_CLIENT_SECRET=fOTQF7jfg8C74u7ZhSjVQpoBYvD0KpWfM5UsEZBSFFM |
| 20 | +VITE_OBP_OAUTH2_REDIRECT_URL=http://localhost:5173/api/oauth2/callback |
48 | 21 |
|
49 | 22 | # OIDC Well-Known Configuration URL |
50 | | -# For local development with OBP-OIDC: |
51 | 23 | VITE_OBP_OAUTH2_WELL_KNOWN_URL=http://127.0.0.1:9000/obp-oidc/.well-known/openid-configuration |
52 | 24 |
|
53 | 25 | # Optional: Token refresh threshold (seconds before expiry) |
|
0 commit comments