Hi I have an issue when I try to get user info using https
GET /auth/realms/Mindmap/protocol/openid-connect/userinfo HTTP/2
Host: localhost:8543
user-agent: insomnia/2021.7.2
authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIg…
accept: /
the response is
{
“error”: “invalid_token”,
“error_description”: “Token verification failed”
}
but when I get the token from http it’s working fine
GET /auth/realms/Mindmap/protocol/openid-connect/userinfo HTTP/1.1
Host: localhost:8180
User-Agent: insomnia/2021.7.2
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiS…
the response is
{
“sub”: “56785734…8”,
“email_verified”: true,
“name”: “Test CeCi”,
“preferred_username”: “test”,
“given_name”: “Test”,
“family_name”: “CeCi”,
“email”: “test13@test.fr”
}
Do you know where the issue come from ?