assembl.auth.social_auth module

The IdeaLoom-specific configuration of PythonSocialAuth

assembl.auth.social_auth.associate_by_email(backend, details, provider=None, user=None, *args, **kwargs)[source]

Find other users of the same email. One of them may be appropriate.

Taken from social_core.pipeline.social_auth.associate_by_email and rewritten

assembl.auth.social_auth.get_active_auth_strategies(settings)[source]

Give the list of available social auth providers. Includes multiple instances if a provider can have multiple servers. This currently includes SAML, and eventually wordpress. TODO: Should replace the login_providers config variable

assembl.auth.social_auth.includeme(config)[source]

Pre-parse certain settings for python_social_auth, then load it.

assembl.auth.social_auth.maybe_social_logout(request)[source]

If the user has a an account with the default social provider, and that account has a logout URL, redirect there. Maybe the next argument should be carried?