OAuth Configuration & Developer Reference

OAuth Callback Redirect URLs

Configure these Authorized Redirect Callback URIs in your provider developer consoles to enable seamless single sign-on (SSO).

Google OAuth 2.0

Most Popular

Where to paste in developer portal: Google Cloud Console (Credentials > Authorized Redirect URIs)

Production Provider Specific Callback URL
https://api.authsetu.com/api/v1/auth/callback/google
Production Unified Callback URL
https://console.authsetu.com/api/v1/auth/sso/callback
Local Development Callback URL
http://localhost:3006/api/v1/auth/callback/google

GitHub OAuth App

Developer Standard

Where to paste in developer portal: GitHub Developer Settings (Authorization callback URL)

Production Provider Specific Callback URL
https://api.authsetu.com/api/v1/auth/callback/github
Production Unified Callback URL
https://console.authsetu.com/api/v1/auth/sso/callback
Local Development Callback URL
http://localhost:3006/api/v1/auth/callback/github

Discord OAuth2

Bot & Community

Where to paste in developer portal: Discord Developer Portal (OAuth2 > Redirects)

Production Provider Specific Callback URL
https://api.authsetu.com/api/v1/auth/callback/discord
Production Unified Callback URL
https://console.authsetu.com/api/v1/auth/sso/callback
Local Development Callback URL
http://localhost:3006/api/v1/auth/callback/discord

Microsoft (Azure AD / Entra ID)

Enterprise

Where to paste in developer portal: Azure Portal (App Registrations > Web > Redirect URIs)

Production Provider Specific Callback URL
https://api.authsetu.com/api/v1/auth/callback/microsoft
Production Unified Callback URL
https://console.authsetu.com/api/v1/auth/sso/callback
Local Development Callback URL
http://localhost:3006/api/v1/auth/callback/microsoft

Apple Sign In

iOS & macOS

Where to paste in developer portal: Apple Developer Console (Services IDs > Return URLs)

Production Provider Specific Callback URL
https://api.authsetu.com/api/v1/auth/callback/apple
Production Unified Callback URL
https://console.authsetu.com/api/v1/auth/sso/callback
Local Development Callback URL
http://localhost:3006/api/v1/auth/callback/apple

Facebook Login

Consumer

Where to paste in developer portal: Meta for Developers (Facebook Login > Valid OAuth Redirect URIs)

Production Provider Specific Callback URL
https://api.authsetu.com/api/v1/auth/callback/facebook
Production Unified Callback URL
https://console.authsetu.com/api/v1/auth/sso/callback
Local Development Callback URL
http://localhost:3006/api/v1/auth/callback/facebook

Twitter / X OAuth 2.0

Social

Where to paste in developer portal: Twitter Developer Portal (User Authentication Settings > Callback URLs)

Production Provider Specific Callback URL
https://api.authsetu.com/api/v1/auth/callback/twitter
Production Unified Callback URL
https://console.authsetu.com/api/v1/auth/sso/callback
Local Development Callback URL
http://localhost:3006/api/v1/auth/callback/twitter