OpenID Plugin not working for response_type token - only id_token works well

Hello community,

I’ve been looking into weweb auth plugin for a couple of days and struggle to set it up properly to get user context and access token.

My OpenID Auth provider is ‘keycloak’. The client works well on different application so far including postman collection to retrieve access_token (via token endpoint).

Now, I followed [OpenID | WeWeb Documentation](https://the open-id docs) to connect to my client in keycloak.

The login and fetch user details works well only if response_type is id_token only. If I change to id_token token ortoken only, I don’t get the user context nor isAuthenticated.

Do you have any advice how to get the acces_token properly? It’s a little bit hard to debug.

1 Like