Closed artemnikitin2023 closed 3 months ago
The problem was that micronaut not requesting groups scope, adding it in config file rsolved the issue.
Hi @artemnikitin2023, I have a similar error but I don't understand how did you solve the issue. Could you explain how can I add it in config file? Which config file? Thanks.
Hi. Here is working part of the configuration, the micronaut block:
micronaut: security: enabled: true oauth2: enabled: true clients: dex: client-id: client-secret: openid: issuer: scopes:
- profile
- openid
- groups
Also dex must be configured to inject groups claim into te oauth token.
Hello.
I'm trying to use akhq via oidc (dex). The username mapping works fine, but the groups mapping is not working at all. Looks like akhq just ignores the groups field. akhq version is 0.25.1 (docker image). Please help.
Here is the akhq security config:
The dex respose is: