@julian And where is /auth/yourplugin/callback handled? Because in the case of nodebb-plugin-sso-oauth it takes to the homepage of the forum. But i want to change that behaviour and i don't know where or how.
SSO Authentication - Getting avatar from SSO
Is it possible to grab the avatar from the SSO? (github, twitter, facebook, etc)
As you can see, I've just logged in using GitHub to post this topic, and my avatar is not set. I'd like to use the avatar from the SSO when users log-in into the forum.
Any help is appreciated.
Whether we can use the avatar or not is dependent on the SSO endpoint itself. I believe Facebook and Twitter SSOs have the avatar saving properly. Not too sure about GitHub.
Thanks for pointing out @julian, I've submitted a pull-request for you here! https://github.com/julianlam/nodebb-plugin-sso-github/pull/9
@endel Thanks, merged!