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
In context_processors.backend_data() ... the 'values' returned are inconsistent with eachother. The 'associated' key contains a list of UserSocialAuth association objects... where 'not_associated' contains a list of provider objects. This makes an odd use case:
{% for provider in social_auth.associated.all %}
Provider is: {{ provider.provider }} (actually association.provider)
{% endfor %}
{% for provider in social_auth.not_associated.all %}
Provider is: {{ provider }} (actually is the provider)
{% endfor %}
If anything, would be helpful to document context processors a bit better. Currently the only mention to the context_processors is in the configuration doc:
In context_processors.backend_data() ... the 'values' returned are inconsistent with eachother. The 'associated' key contains a list of UserSocialAuth association objects... where 'not_associated' contains a list of provider objects. This makes an odd use case:
If anything, would be helpful to document context processors a bit better. Currently the only mention to the context_processors is in the configuration doc:
Where the 'link' at the bottom doesn't link to anything.
The text was updated successfully, but these errors were encountered: