Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot figure out how to associate multiple auth providers #340

Closed
jacksonofalltrades opened this issue Aug 4, 2014 · 3 comments
Closed

Comments

@jacksonofalltrades
Copy link

Hi,

I've read through the docs and the instructions for getting things set up and working with any one given auth provider (Facebook, LinkedIn, etc.) are very clear.

However, I cannot for the life of me figure out how to associate multiple auth provider logins with a single user. For starters, if a user is logged in with any one, what should I show? A link for all other auth methods? (e.g., if logged in with Facebook, stlll show a link for LinkedIn login maybe as "Connect with your LinkedIn account" or something)

I'm particularly interested in supporting native login as well and allowing the native login to be associated with a Facebook and LinkedIn login (I want user to be able to create their initial account from any of these three, and then associate the other two if desired).

I'm unclear how this works, please help!

Thanks,
-Dave

@omab
Copy link
Owner

omab commented Aug 5, 2014

@jacksonofalltrades, the usual way is to provide a page with the different association options to a logged in user, once they associate the account, they can login with any of them.

@Karmak23
Copy link

I case this is still unclear and @jacksonofalltrades needs an exemple, here is a profile page where currently associated accounts are shown to the user, and a block to associate new ones.

NOTE: the templates use latest python-social-auth official version, but still font-awesome 3.2.1. Here is a screenshot (sorry it's in french I've got a language switch bug on the profile page…):

capture d ecran de 2014-11-16 17 22 36

@omab
Copy link
Owner

omab commented Nov 17, 2014

@Karmak23, that's a perfect example, thanks.

Closing this issue, reopen if needed.

@omab omab closed this as completed Nov 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants