From 5e6d987c3f26c477d1d1d0dca538b9bd980822ed Mon Sep 17 00:00:00 2001 From: Harshit-kohli Date: Fri, 4 Oct 2024 10:55:33 -0700 Subject: [PATCH] keycloak changes --- .github/workflows/publish-image-rhbk-dev.yml | 2 +- .../org.keycloak.authentication.AuthenticatorFactory | 10 ++-------- ...rg.keycloak.broker.provider.IdentityProviderFactory | 2 -- ...org.keycloak.broker.provider.IdentityProviderMapper | 1 - ...eycloak.broker.social.SocialIdentityProviderFactory | 1 - .../services/org.keycloak.protocol.ProtocolMapper | 7 ++----- ...g.keycloak.protocol.oidc.ext.OIDCExtProviderFactory | 1 - 7 files changed, 5 insertions(+), 19 deletions(-) delete mode 100644 docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderFactory delete mode 100644 docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderMapper delete mode 100644 docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.social.SocialIdentityProviderFactory delete mode 100644 docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.protocol.oidc.ext.OIDCExtProviderFactory diff --git a/.github/workflows/publish-image-rhbk-dev.yml b/.github/workflows/publish-image-rhbk-dev.yml index 29b5cdb..4e292f3 100644 --- a/.github/workflows/publish-image-rhbk-dev.yml +++ b/.github/workflows/publish-image-rhbk-dev.yml @@ -11,7 +11,7 @@ env: jobs: build-and-push-image: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: contents: read packages: write diff --git a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.authentication.AuthenticatorFactory b/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.authentication.AuthenticatorFactory index e56d03d..e67bd23 100644 --- a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.authentication.AuthenticatorFactory +++ b/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.authentication.AuthenticatorFactory @@ -1,8 +1,2 @@ -com.github.bcgov.keycloak.authenticators.IdentityProviderStopAuthenticatorFactory -com.github.bcgov.keycloak.authenticators.CookieStopAuthenticatorFactory -com.github.bcgov.keycloak.authenticators.ClientLoginAuthenticatorFactory -com.github.bcgov.keycloak.authenticators.ClientLoginRoleBindingFactory -com.github.bcgov.keycloak.authenticators.UserSessionRemoverFactory -com.github.bcgov.keycloak.authenticators.UserAttributeAuthenticatorFactory -com.github.bcgov.keycloak.authenticators.broker.IdpDeleteUserIfDuplicateAuthenticatorFactory -com.github.bcgov.keycloak.authenticators.browser.IdentityProviderStopFormFactory +com.github.bcgov.keycloak.authenticators.SoamFirstTimeLoginAuthenticatorFactory +com.github.bcgov.keycloak.authenticators.SoamPostLoginAuthenticatorFactory diff --git a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderFactory b/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderFactory deleted file mode 100644 index 14f202e..0000000 --- a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderFactory +++ /dev/null @@ -1,2 +0,0 @@ -com.github.bcgov.keycloak.broker.oidc.CustomOIDCIdentityProviderFactory -com.github.bcgov.keycloak.broker.oidc.OverrideOIDCIdentityProviderFactory diff --git a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderMapper b/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderMapper deleted file mode 100644 index 174197e..0000000 --- a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.provider.IdentityProviderMapper +++ /dev/null @@ -1 +0,0 @@ -com.github.bcgov.keycloak.social.github.CustomGitHubUserAttributeMapper diff --git a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.social.SocialIdentityProviderFactory b/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.social.SocialIdentityProviderFactory deleted file mode 100644 index 1483d4d..0000000 --- a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.broker.social.SocialIdentityProviderFactory +++ /dev/null @@ -1 +0,0 @@ -com.github.bcgov.keycloak.social.github.CustomGitHubIdentityProviderFactory diff --git a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.protocol.ProtocolMapper b/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.protocol.ProtocolMapper index 1d37ea0..a36d7d8 100644 --- a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.protocol.ProtocolMapper +++ b/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.protocol.ProtocolMapper @@ -1,5 +1,2 @@ -com.github.bcgov.keycloak.protocol.oidc.mappers.IDPUserinfoMapper -com.github.bcgov.keycloak.protocol.saml.mappers.IDPUserinfoMapper -com.github.bcgov.keycloak.protocol.oidc.mappers.ClaimOmitterMapper -com.github.bcgov.keycloak.protocol.saml.mappers.ClientRoleListMapper -com.github.bcgov.keycloak.protocol.saml.mappers.StatementAttributeOmitterMapper +com.github.bcgov.keycloak.mapper.SoamProtocolMapper +com.github.bcgov.keycloak.tenant.mapper diff --git a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.protocol.oidc.ext.OIDCExtProviderFactory b/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.protocol.oidc.ext.OIDCExtProviderFactory deleted file mode 100644 index 558cdc5..0000000 --- a/docker/keycloak/extensions-24/services/src/main/resources/META-INF/services/org.keycloak.protocol.oidc.ext.OIDCExtProviderFactory +++ /dev/null @@ -1 +0,0 @@ -com.github.bcgov.keycloak.protocol.oidc.ext.endpoints.LegacyEndpoint