Skip to content

Commit

Permalink
feat: idp log
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Jun 20, 2024
1 parent 0bb6e01 commit 975de72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operator/keycloak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ async function keycloakRealmProviderConfigurer(api: KeycloakApi) {

async function externalIDP(api: KeycloakApi) {
// Keycloak acts as broker
console.log('EXTERNAL IDP')
// Create Identity Provider
const idp = await createIdProvider(env.IDP_CLIENT_ID, env.IDP_ALIAS, env.IDP_CLIENT_SECRET, env.IDP_OIDC_URL)

Expand Down Expand Up @@ -507,7 +508,7 @@ async function externalIDP(api: KeycloakApi) {

async function internalIdp(api: KeycloakApi, connection: KeycloakConnection) {
// IDP instead of broker

console.log('INTERNAL IDP')
// create groups
const { basePath, token } = connection
const groups = new GroupsApi(basePath)
Expand Down

0 comments on commit 975de72

Please sign in to comment.