|
1 | | -VITE_OBP_API_HOST=https://apisandbox.openbankproject.com |
2 | | - |
3 | | -### OBP-API mode ################################### |
4 | | -# If OBP-API split to two instances, eg: apis,portal |
5 | | -# Then API_Explorer need to set two api hosts: api_hostname and this api_portal_hostname, for all Rest Apis will call api_hostname |
6 | | -# 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. |
7 | | -VITE_OBP_API_PORTAL_HOST=https://apisandbox.openbankproject.com |
8 | | -#################################################################################### |
9 | | - |
10 | | -VITE_OBP_API_VERSION=v6.0.0 |
11 | | -#The default version of the root page, it has the default value `OBP+VITE_OBP_API_VERSION` |
12 | | -#The format must follow standard+Version, e.g., OBPv5.1.0, BGv1, or BGv1.3. |
13 | | -#VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION=OBPv6.0.0 |
14 | | - |
15 | | -# API Manager |
16 | | -VITE_OBP_API_MANAGER_HOST=https://apimanagersandbox.openbankproject.com |
17 | | -VITE_SHOW_API_MANAGER_BUTTON=false |
18 | | - |
19 | | -VITE_OBP_API_EXPLORER_HOST=http://localhost:5173 |
20 | | -VITE_OBP_CONSUMER_KEY=your_consumer_key |
21 | | -VITE_OBP_CONSUMER_SECRET=your_consumer_secret |
22 | | -VITE_OBP_REDIRECT_URL=http://localhost:5173/api/callback |
23 | | -VITE_OPB_SERVER_SESSION_PASSWORD=very secret |
24 | | -# The above code connects to localhost on port 6379. |
25 | | -# To connect to a different host or port, use a connection string in the format |
26 | | -# redis[s]://[[username][:password]@][host][:port][/db-number] |
27 | | -# Be sure to secure your Redis instance |
28 | | -VITE_OBP_REDIS_URL = redis://127.0.0.1:6379 |
29 | | - |
30 | | -# Enable the chatbot interface "Opey" |
31 | | -# Note: For Opey to be connected you will need to create a public key for API Explorer II |
32 | | -# To do this: |
33 | | -VITE_CHATBOT_ENABLED=false |
34 | | -VITE_CHATBOT_URL=http://localhost:5000 |
35 | | -VITE_OPEY_CONSUMER_ID=opey_consumer_id # For granting a consent to Opey |
36 | | - |
37 | | -# Product styling setting |
38 | | -#VITE_OBP_LINKS_COLOR="#52b165" |
39 | | -#VITE_OBP_HEADER_LINKS_COLOR="#39455f" |
40 | | -#VITE_OBP_HEADER_LINKS_HOVER_COLOR="#39455f" |
41 | | -#VITE_OBP_HEADER_LINKS_BACKGROUND_COLOR="#eef0f4" |
42 | | -#VITE_OBP_LOGO_URL=https://static.openbankproject.com/images/obp_logo.png |
43 | | - |
44 | | -# https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production |
45 | | -# The value could be: development, staging, production |
46 | | -# NODE_ENV=development |
47 | | - |
48 | | -# If you have a problem with session storage (which will cause problems with login) you can enable this. See README for further info. |
49 | | -#DEBUG=express-session |
| 1 | +### OBP-API Configuration ### |
| 2 | +VITE_OBP_API_PORTAL_HOST=http://127.0.0.1:8080 # OBP API Portal URL (for "Portal Home" navigation link) |
| 3 | +VITE_OBP_API_HOST=http://127.0.0.1:8080 # OBP API server base URL (for all backend API requests) |
| 4 | +# VITE_OBP_API_VERSION is NO LONGER USED - hardcoded to v5.1.0 in shared-constants.ts for stability |
| 5 | +VITE_OBP_API_MANAGER_HOST=https://apimanagersandbox.openbankproject.com # OBP API Manager URL (optional - for navigation link) |
| 6 | +VITE_OBP_API_EXPLORER_HOST=http://localhost:5173 # API Explorer application URL (used for OAuth2 redirects and internal routing) |
| 7 | +VITE_OPB_SERVER_SESSION_PASSWORD=your-secret-session-password-here # Secret key for session encryption (keep this secure!) |
| 8 | +VITE_SHOW_API_MANAGER_BUTTON=false # Show/hide API Manager button in navigation (true/false) |
| 9 | + |
| 10 | +### Redis Configuration ### |
| 11 | +VITE_OBP_REDIS_URL=redis://127.0.0.1:6379 # Redis connection string for session storage (format: redis://host:port) |
| 12 | + |
| 13 | +### Opey Configuration ### |
| 14 | +VITE_CHATBOT_ENABLED=false # Enable/disable Opey chatbot widget (true/false) |
| 15 | +VITE_CHATBOT_URL=http://localhost:5000 # Opey chatbot service URL (only needed if chatbot is enabled) |
| 16 | + |
| 17 | +### OAuth2/OIDC Configuration ### |
| 18 | +VITE_OBP_OAUTH2_CLIENT_ID=48ac28e9-9ee3-47fd-8448-69a62764b779 # OAuth2 client ID (UUID - must match OIDC server registration) |
| 19 | +VITE_OBP_OAUTH2_CLIENT_SECRET=fOTQF7jfg8C74u7ZhSjVQpoBYvD0KpWfM5UsEZBSFFM # OAuth2 client secret (keep this secure!) |
| 20 | +VITE_OBP_OAUTH2_REDIRECT_URL=http://localhost:5173/api/oauth2/callback # OAuth2 callback URL (must exactly match OIDC client registration) |
| 21 | +VITE_OBP_OAUTH2_WELL_KNOWN_URL=http://localhost:9000/obp-oidc/.well-known/openid-configuration # OIDC discovery endpoint URL |
| 22 | +VITE_OBP_OAUTH2_TOKEN_REFRESH_THRESHOLD=300 # Seconds before token expiry to trigger refresh (default: 300) |
| 23 | + |
| 24 | +### Resource Documentation Version (Optional) ### |
| 25 | +# VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION=OBPv5.1.0 # Default resource docs version for frontend URLs (format: OBPv5.1.0 - with OBP prefix, auto-constructed if not set) |
| 26 | + |
| 27 | +### Session Configuration (Optional) ### |
| 28 | +# VITE_SESSION_MAX_AGE=3600 # Session timeout in seconds (default: 3600 = 1 hour) |
| 29 | + |
| 30 | +### Styling Configuration (Optional) ### |
| 31 | +# VITE_OBP_LOGO_URL=https://example.com/logo.png # Custom logo image URL (uses default OBP logo if not set) |
| 32 | +# VITE_OBP_LINKS_COLOR=#3c8dbc # Primary link color (CSS color value) |
| 33 | +# VITE_OBP_HEADER_LINKS_COLOR=#39455f # Header navigation link color |
| 34 | +# VITE_OBP_HEADER_LINKS_HOVER_COLOR=#39455f # Header navigation link hover color |
| 35 | +# VITE_OBP_HEADER_LINKS_BACKGROUND_COLOR=#eef0f4 # Header navigation active link background color |
0 commit comments