keycloak operator realm with custom Identity provider #9603
Unanswered
rakeshreddyrg09
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I am using keycloak operator with custom realm file using that I am trying to create an Identity provider
please refer to the below manifest:
apiVersion: keycloak.org/v1alpha1
kind: KeycloakRealm
metadata:
labels:
app: test-keycloak
name: test
namespace: keycloak
spec:
instanceSelector:
matchLabels:
app: test-keycloak
realm:
displayName: test
enabled: true
id: test
realm: test
roles:
realm:
- name: test-role
description: Regular user with limited set of permissions
composite: true
composites:
client:
test-client:
- guest
clientRole: false
client:
test-client:
- name: "guest"
description: "guest user"
composite: false
clientRole: true
clients:
- clientId: test-client
name: test-client
description: test-client
enabled: true
clientAuthenticatorType: client-secret
secret: secret
identityProviders:
- alias: "test"
internalId: "2vsdvsd-2sdvsdvw3-zxv"
providerId: "oidc"
enabled: true
#updateProfileFirstLoginMode: on
trustEmail: false
storeToken: false
addReadTokenRoleOnCreate: false
#authenticateByDefault: false
linkOnly: false
firstBrokerLoginFlowAlias: "first broker login"
config:
userInfoUrl: "https://test-qa/userinfo"
validateSignature: "true"
clientId: "some id here"
tokenUrl: "https://test-qa.eu.auth0.com/oauth/token"
jwksUrl: "https://test-qa.eu.auth0.com/.well-known/jwks.json"
issuer: "https://test-qa.eu.auth0.com/"
pkceMethod: "S256"
useJwksUrl: "true"
pkceEnabled: "true"
authorizationUrl: "https://test-qa.eu.auth0.com/authorize?connection=main-tenant-oidc"
clientAuthMethod: "client_secret_post"
syncMode: "IMPORT"
clientSecret: "client-secret"
this is creating a realm but not adding the identity provider.
can anyone help me out here?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions