So I have added the disconnection pipeline to my application using python-social-auth
. I noticed that there are two endpoints in the urls.py
:
disconnect - /oauth/disconnect/<backend>/
disconnect_individual - oauth/disconnect/<backend>/<association_id>/
Where backend
could refer to the social provider (facebook
, google-plus
, linkedin
, ...).
Through my experiments, I find that the first endpoint, disconnect, will remove the logged in user's associated UserSocialAuth
table entry.
What does the second endpoint do?
What does the association_id
represent?
Is it a way of dissociating one individual account if the user has two UserSocialAuth
entries with the same backend? That doesn't make sense since the uid
+ provider
must be unique. Can someone provide an example of when one would call the disconnect_individual?
I've asked this question on Stackoverflow, so feel free to post an answer there too. Also, who would be responsible for maintaining the documentation?
--
You received this message because you are subscribed to the Google Groups "Django Social Auth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-social-auth+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.