By: Kaius Häggblom user 29 Apr 2019 at 4:22 a.m. CDT

1 Response
Kaius Häggblom gravatar
Hello. How can I add the scope "profile" to passport_social to get the profile and picture claims added to the ID token? Can I make the automatic social media registration/account creation to include the "picture_url" from the ID token? regards, ~kaius

By Jose Gonzalez staff 30 Apr 2019 at 7:25 a.m. CDT

Jose Gonzalez gravatar
Ideally you should add more contextual info to your problem to give you a better assistance. Every external identity provider to integrate has its own specific mechanisms to release user's attributes. Normally it has to do with requesting additional scopes depending on the provider. Probably requires edition of file `/opt/gluu/node/passport/server/routes/index.js` . Additionally some edition of a file under `/opt/gluu/node/passport/server/auth` would have to take place so attributes received from the provider are handed to oxauth....