mirror of
https://github.com/OpenBankProject/API-Explorer-II.git
synced 2026-02-06 02:36:46 +00:00
57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
### OBP API Configuration ###
|
|
VITE_OBP_API_HOST=http://127.0.0.1:8080
|
|
VITE_OBP_API_VERSION=v5.1.0
|
|
|
|
### API Explorer Host ###
|
|
VITE_OBP_API_EXPLORER_HOST=http://localhost:5173
|
|
|
|
### Session Configuration ###
|
|
VITE_OBP_SERVER_SESSION_PASSWORD=change-me-to-a-secure-random-string
|
|
|
|
### OAuth2 Redirect URL (shared by all providers) ###
|
|
VITE_OAUTH2_REDIRECT_URL=http://localhost:5173/api/oauth2/callback
|
|
|
|
### Redis Configuration (Optional - uses localhost:6379 if not set) ###
|
|
# VITE_OBP_REDIS_URL=redis://127.0.0.1:6379
|
|
# VITE_OBP_REDIS_PASSWORD=
|
|
# VITE_OBP_REDIS_USERNAME=
|
|
|
|
### Multi-Provider OAuth2/OIDC Configuration ###
|
|
### If VITE_OBP_OAUTH2_WELL_KNOWN_URL is set, it will be used
|
|
### Otherwise, the system fetches available providers from: VITE_OBP_API_HOST/obp/v5.1.0/well-known
|
|
### Configure credentials below for each provider you want to support
|
|
|
|
### (Optional) ###
|
|
# VITE_OBP_OAUTH2_WELL_KNOWN_URL=http://127.0.0.1:9000/obp-oidc/.well-known/openid-configuration
|
|
|
|
### OBP-OIDC Provider ###
|
|
VITE_OBP_OIDC_CLIENT_ID=your-obp-oidc-client-id
|
|
VITE_OBP_OIDC_CLIENT_SECRET=your-obp-oidc-client-secret
|
|
|
|
### OBP Consumer Key (for API calls) ###
|
|
VITE_OBP_CONSUMER_KEY=your-obp-oidc-client-id
|
|
|
|
### Keycloak Provider (Optional) ###
|
|
# VITE_KEYCLOAK_CLIENT_ID=your-keycloak-client-id
|
|
# VITE_KEYCLOAK_CLIENT_SECRET=your-keycloak-client-secret
|
|
|
|
### Google Provider (Optional) ###
|
|
# VITE_GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
|
|
# VITE_GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
|
|
### GitHub Provider (Optional) ###
|
|
# VITE_GITHUB_CLIENT_ID=your-github-client-id
|
|
# VITE_GITHUB_CLIENT_SECRET=your-github-client-secret
|
|
|
|
### Custom OIDC Provider (Optional) ###
|
|
# VITE_CUSTOM_OIDC_PROVIDER_NAME=my-custom-provider
|
|
# VITE_CUSTOM_OIDC_CLIENT_ID=your-custom-client-id
|
|
# VITE_CUSTOM_OIDC_CLIENT_SECRET=your-custom-client-secret
|
|
|
|
### Chatbot Configuration (Optional) ###
|
|
VITE_CHATBOT_ENABLED=false
|
|
# VITE_CHATBOT_URL=http://localhost:5000
|
|
|
|
### Resource Docs Version ###
|
|
VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION=OBPv6.0.0
|