Skip to main content

Social Auth

  • Enable social authentication to allowso users tocan log in withusing providers like Google or GitHub.GitHub.
  • Register your application within the chosenprovider’s providerOAuth console (e.g., Google OAuth Console or GitHub OAuth application) to obtain a client ID and obtainclient secret.
  • Copy the clientredirect IDURI shown in SWAIN’s Social Auth settings and clientpaste secret.
  • it
  • Enterinto your provider’s configuration so that the OAuth credentialscallback intoreturns to SWAIN correctly.
  • In SWAIN’s socialSocial authAuth settingssettings, enter the provider‑specific credentials, such as Client ID, Client Secret, Auth URL, Token URL, User Info URL, and Scopes, for each provider you wish to support.
  • Ensure the redirect URI in the provider’s console exactly matches the URI provided by SWAIN for proper callback handling.
  • Social login is optional; users can still authenticate using standard email/password if you prefer.