You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
It's better to integrate social login .
The text was updated successfully, but these errors were encountered: