Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 25 additions & 11 deletions config/app-config-rhdh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@ backend:
auth:
# see https://backstage.io/docs/auth/ to learn about auth providers
session:
secret: '${SESSION_SECRET}'
secret: superSecretSecret
providers:
oidc:
production:
metadataUrl: "${KEYCLOAK_METADATA_URL}"
clientId: "${KEYCLOAK_CLIENT_ID}"
clientSecret: "${KEYCLOAK_CLIENT_SECRET}"
prompt: auto
callbackUrl: "${RHDH_BASE_URL}/api/auth/oidc/handler/frame"
signIn:
resolvers:
- resolver: emailLocalPartMatchingUserEntityName
signInPage: oidc
catalog:
import:
entityFilename: catalog-info.yaml
Expand All @@ -29,13 +41,15 @@ catalog:
target: https://github.com/redhat-developer/rhdh/blob/main/catalog-entities/all.yaml
- type: url
target: https://github.com/redhat-developer/red-hat-developer-hub-software-templates/blob/main/templates.yaml
- type: file
target: ./catalog-entities/users.yaml
- type: file
target: ./catalog-entities/components.yaml
- type: file
target: ./catalog-entities/operators.yaml
- type: file
target: ./catalog-entities/resources.yaml
- type: file
target: ./catalog-entities/plugins.yaml
providers:
keycloakOrg:
default:
baseUrl: "${KEYCLOAK_BASE_URL}"
loginRealm: "${KEYCLOAK_LOGIN_REALM}"
realm: "${KEYCLOAK_REALM}"
clientId: "${KEYCLOAK_CLIENT_ID}"
clientSecret: "${KEYCLOAK_CLIENT_SECRET}"
schedule:
frequency: { minutes: 3 }
initialDelay: { seconds: 15 }
timeout: { minutes: 5 }