def get_complete_url(backend_name):
 if (not any(provider.Registry.get_enabled_by_backend_name(backend_name))):
  raise ValueError(('Provider with backend %s not enabled' % backend_name))
 return _get_url('social:complete', backend_name)

def get_complete_url ( backend_name ) : if ( not any ( provider . Registry . get_enabled_by_backend_name ( backend_name ) ) ) : raise ValueError ( ( 'Provider with backend %s not enabled' % backend_name ) ) return _get_url ( 'social:complete' , backend_name )
gets url for the endpoint that returns control to the auth pipeline .