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

Social Login #33

Open
krishnaguragain opened this issue Feb 21, 2015 · 1 comment
Open

Social Login #33

krishnaguragain opened this issue Feb 21, 2015 · 1 comment

Comments

@krishnaguragain
Copy link

It's better to integrate social login .

@jeteon
Copy link

jeteon commented Mar 13, 2015

I also want social integration. I don't think they can support it generally though (too many providers). But they can provide some hooks so that you can use it alongside an OAuth library such as OAuth2-client.

I think basically, the flexi-auth library would need to provide a user_can_login() function so that you can check:

  • bans / suspensions
  • account activation
  • lockouts due to hacking attempts

And then a force_login() function that you can then call afterwards to make the user appear as logged in. An extension may be necessary so that one can tell whether a user logged in via password or social. Basically, a function like is_logged_in_via_password which would instead be is_logged_in_via_social.

What do you think?

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

2 participants