{"action":"opened","issue":{"url":"https://api.github.com/repos/pennersr/django-allauth/issues/1091","labels_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1091/labels{/name}","comments_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1091/comments","events_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1091/events","html_url":"https://github.com/pennersr/django-allauth/issues/1091","id":101493600,"number":1091,"title":"Determining how user authenticated","user":{"login":"amadornimbis","id":6304931,"avatar_url":"https://avatars.githubusercontent.com/u/6304931?v=3","gravatar_id":"","url":"https://api.github.com/users/amadornimbis","html_url":"https://github.com/amadornimbis","followers_url":"https://api.github.com/users/amadornimbis/followers","following_url":"https://api.github.com/users/amadornimbis/following{/other_user}","gists_url":"https://api.github.com/users/amadornimbis/gists{/gist_id}","starred_url":"https://api.github.com/users/amadornimbis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amadornimbis/subscriptions","organizations_url":"https://api.github.com/users/amadornimbis/orgs","repos_url":"https://api.github.com/users/amadornimbis/repos","events_url":"https://api.github.com/users/amadornimbis/events{/privacy}","received_events_url":"https://api.github.com/users/amadornimbis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-17T19:32:08Z","updated_at":"2015-08-17T19:32:08Z","closed_at":null,"body":"I tried searching the documentation for this, but I can't seem to find what the best way is to determine how a user authenticated given a view request. There will be small differences in my site depending on if a user authenticated via a specific SocialAccount provider or via the default django.contrib.auth, and I'm not sure if this functionality is built into allauth."}}