Add new claims_supported

Skip to first unread message

Everton Godoi

Oct 15, 2021, 9:56:48 AMOct 15
to Keycloak Dev

Hi everybody!

I need a help, to add new claims_supported in .well_know at the keycloak, because I sought in documentation and the keycloak admin, but I can't found where I add the information.

In my case I need to add "cpf", "cnpj", bellow follow my current .well_know with claims_supported.

"claims_supported": [

If someone can help me, I appreciate.

Everton Godoi

Thomas Darimont

Oct 15, 2021, 12:18:30 PMOct 15
to Everton Godoi, Keycloak Dev
Hello Everton,

The claims_supported are currently hardcoded in OIDCWellKnownProvider, see: 

You could provide your own OIDCWellKnownProvider implementation that sets the appropriate claims via the OIDCConfigurationRepresentation#setClaimsSupported method.
An example for a custom OIDCWellKnownProvider is contained in the testsuite.


You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
Message has been deleted
0 new messages