python - Detecting the login type of the user -
i using django-allauth 3rd party account logins.
currently, activated facebook , google logins. let users login system 1 of following 3 ways.
- using django login form
- using facebook login
- using google login
if new user logins first time 3rd party oauth provider, got user information related service , create user record non-usable password.
my question is, there way recognize how user had logged in (using default login or 3rd party oauth tool) can display info anytime while user logged in?
i know can write logged_in
signal capture data , store somewhere. wondering there existing way info.
Comments
Post a Comment