Retrieve user's custom attribute

I added a custom attribute to my users. When I authenticate, I don’t see my custom attribute in the response, nor when I call /userinfo with the relevant token. The attribute is not null for the specific user I’m using, and it has read/write permission. How can I retrieve it?

I managed to see the attribute I added in the backend (Spring Boot webapp) as a Claim in the AuthenticationToken. Before that I added my attribute as a claim in the configuration: I went to Security->API->Authentication Server and added my attribute as a claim.

1 Like