Hey,
I’m trying to get the usergroup from the userinfo endpoint with openid auth.
But unfourtantely it does not work . I can see this in the log: “No roles claim with name entitlement_group found”
When calling the userinfo-endpoint with Postman I can retrieve all needed information.
Am I missing something in my config, any help is appreciated.
My application.yml:
proxy:
title: MyApp
landing-page: /
heartbeat-rate: 10000
heartbeat-timeout: 60000
port: 6688
authentication: openid
openid:
auth-url: https://my-url/as/authorization.oauth2
token-url: https://my-url/as/token.oauth2
jwks-url: https://my-url/pf/JWKS
userinfo-url: https://my-url/idp/userinfo.openid
client-id: hidden
client-secret: hidden
scopes: ["openid", "entitlement_group", "offline_access"]
roles-claim: entitlement_group
logging:
level:
eu:
openanalytics:
containerproxy:
auth: DEBUG