louie007 / passport-keycloak-oauth2-oidc

A Passport.js strategy for authenticating with Keycloak using the OAuth2/OIDC API
MIT License
27 stars 12 forks source link

Fix get userProfile issue #9

Open jb-home opened 1 year ago

jb-home commented 1 year ago

The userProfile request fails, as scope 'openid' is missing. Anyway profile does not contain roles by default but the access token does contain all needed data.