Hi!
I have a problem with getting roles from the JWT payload. I got the error in Elasticsearch logs:
c.a.d.a.h.j.AbstractHTTPJwtAuthenticator] [elasticsearch] Failed to get roles from JWT claims with roles_key 'roles'. Check if this key is correct and available in the JWT payload.
It seems that my provider doesn’t include roles information to JWT but this information is available by another endpoint /userinfo
. But I would like to check this by debugging what includes the JWT token. So I have a question is there any possibility to achieve this?