omab/django-social-auth — Issue #179: OpenId backend shouldn't be hardcoded
Author: wronglink
Created: 2011-11-14 11:26:27+00:00
State: open

OpenId backend couldn't be disabled in BACKENDS list, becouse of [this line](https://github.com/omab/django-social-auth/blob/master/social_auth/backends/__init__.py#L624).

So it appears in social_auth_by_name_backends context processors.

For example if we have in settings.py:

SOCIAL_AUTH_ENABLED_BACKENDS = ('facebook', 'twitter')

Context processor returns:

'social_auth': {
'associated': [],
'backends': ['openid', 'twitter', 'facebook'],
'not_associated': ['openid', 'twitter', 'facebook']
}