diff --git a/config/app-config-rhdh.yaml b/config/app-config-rhdh.yaml index 615598a..7de3438 100644 --- a/config/app-config-rhdh.yaml +++ b/config/app-config-rhdh.yaml @@ -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 @@ -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 }