Open pawelrubin opened 3 years ago
Hello, The gitlab doc also specifies the following:
The claims
sub
,sub_legacy
,email_verified
andgroups_direct
are included in the ID token. All other claims are available from the /oauth/userinfo endpoint used by OIDC clients.
Hi @twobeeb,
Excellent remark! The email
claim indeed works fine.
However, if one wants to use the nickname
claim, do you know, by any chance, how to use the /oauth/userinfo
endpoint?
It's not possible as I know. To do this, you need to implement a custom User Mapper for each provider. I don't think we are going to support this due to huge amount of work for each one.
When connecting to AKHQ using GitLab OIDC, the username field is null
despite setting the
username-field
tonickname
. According to GitLab docs, thenickname
field should be available.AKHQ_CONFIGURATION
file: