Guides
OAuth Setup

OAuth Setup

BastionAuth supports social login via OAuth 2.0.

Supported Providers

  • Google
  • GitHub
  • Microsoft
  • Apple (coming soon)
  • LinkedIn (coming soon)

Configuration

To enable an OAuth provider:

  1. Go to the Admin Dashboard > Settings > Authentication
  2. Enable the provider
  3. Enter your Client ID and Client Secret
  4. Set the callback URL in your provider's developer console

Callback URL

The callback URL for your BastionAuth instance is:

https://your-bastion-instance.com/api/v1/auth/oauth/{provider}/callback

Replace {provider} with google, github, or microsoft.