Skip to main content

Social login

Use Authentication > Social Providers when users should sign in with providers such as Google, GitHub, Microsoft, Apple, or another supported OAuth provider.

Switera social providers page with provider cards and preview controls
Configure provider credentials only after the provider app exists in the provider console.

Before you configure a provider

Prepare:

  • provider client ID
  • provider client secret
  • allowed callback or redirect URI
  • required scopes, usually profile and email
  • test account for the provider
  • decision about whether provider login should be available to all users or only selected organizations

Configure a provider

  1. Open Authentication > Social Providers.
  2. Select the provider.
  3. Enter the client ID and client secret.
  4. Confirm the callback or redirect URI in the provider console matches Switera exactly.
  5. Save settings.
  6. Open the login preview if available.
  7. Test sign-in with a test account.

Provider rollout checklist

Before enabling a provider for real users:

  • the provider console contains the exact callback URI
  • email scope is enabled when your app needs an email address
  • the provider account has a verified email address
  • the hosted Auth page shows the provider button clearly
  • failed provider login returns a useful error
  • audit logs show provider configuration changes

Common errors

SymptomLikely causeFix
Provider redirects back with an errorCallback URI does not match.Copy the Switera callback URI into the provider console exactly.
User signs in but profile is incompleteRequired scopes are missing.Add email/profile scopes in the provider console.
Provider button appears but login failsClient secret or client ID is wrong.Replace credentials and test again.
Wrong users can sign inProvider is too broad for your access model.Restrict by organization, domain, or policy where appropriate.

Related pages: