Camunda and keaycloak integration

i followed this link but have some error , i need some help

here are the code form my .yml file

security:
oauth2:
client:
provider:
oidc:
issuer-uri: http://localhost:8080/auth/realms/master
keycloak:
issuer-uri: http://localhost:8080/auth/realms/master
authorization-uri: http://localhost:8080/auth/realms/master/protocol/openid-connect/auth
user-info-uri: http://localhost:8080/auth/realms/master/protocol/openid-connect/userinfo
token-uri: http://localhost:8080/auth/realms/master/protocol/openid-connect

jwk-set-uri: http://localhost:8080/auth/realms/master/protocol/openid-connect/certs

# set user-name-attribute one of:

# - sub β†’ default; using keycloak ID as camunda user ID

# - email β†’ useEmailAsCamundaUserId=true

# - preferred_username β†’ useUsernameAsCamundaUserId=true

user-name-attribute: email

    registration:
      oidc:
        client-id: camunda-identity-service
        client-secret: 1af9c09e-d82c-4dae-b428-9a191e8249e2
      keycloak:
        provider: keycloak
        client-id: camunda-identity-service
        client-secret: 1af9c09e-d82c-4dae-b428-9a191e8249e2
        authorization-grant-type: authorization_code
        redirect-uri: "{baseUrl}/{action}/oauth2/code/{registrationId}"
        scope: openid, profile, email

error.txt (5.1 KB)
i attached the stacktrace in text file
regards

Can you take a look at the Style Guide? It’ll help you understand how to format code correctly and also help you create questions that are easy to understand and also easier to answer :slight_smile:

1 Like