jaredhanson / passport-openidconnect

OpenID Connect authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-openidconnect/?utm_source=github&utm_medium=referral&utm_campaign=passport-openidconnect&utm_content=about
MIT License
191 stars 177 forks source link

Doesn't return all data from user data endpoint #43

Closed CallumBrankin closed 7 years ago

CallumBrankin commented 7 years ago

I'm currently using passport-openidconnect for PixelPin but the user data doesn't seem to return all the user when i ask for it using all the available scopes. It seems the JSON returned from the endpoint is restricted to email, email_verified, sub, nickname, given_name, family_name and birthdate(which returns incorrectly). I've used the PixelPin endpoint for Magento 2 and it returns all the data correctly so there has to be something wrong with passport-openidconnect.

sanjitbauli commented 4 years ago

@CallumBrankin can you explain how did you fix it?