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.

  1. using django login form
  2. using facebook login
  3. 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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -