def get_login_url(provider_id, auth_entry, redirect_url=None):
 assert (auth_entry in _AUTH_ENTRY_CHOICES)
 enabled_provider = _get_enabled_provider(provider_id)
 return _get_url('social:begin', enabled_provider.backend_name, auth_entry=auth_entry, redirect_url=redirect_url, extra_params=enabled_provider.get_url_params())

def get_login_url ( provider_id , auth_entry , redirect_url = None ) : assert ( auth_entry in _AUTH_ENTRY_CHOICES ) enabled_provider = _get_enabled_provider ( provider_id ) return _get_url ( 'social:begin' , enabled_provider . backend_name , auth_entry = auth_entry , redirect_url = redirect_url , extra_params = enabled_provider . get_url_params ( ) )
gets the login url for the endpoint that kicks off auth with a provider .