OAuth / SSO
Sign in with GitHub or Microsoft OAuth providers
OAuth / Single Sign-On
Sign in to Alpha Platform using your existing GitHub or Microsoft identity.
Overview
OAuth (Open Authorization) enables you to sign in using credentials from trusted identity providers. This provides:
- Single Sign-On (SSO) convenience
- Centralized identity management
- Enhanced security through provider
- No separate password to manage
Supported Providers
| Provider | Status | Notes |
|---|---|---|
| GitHub | Available | GitHub.com accounts |
| Microsoft | Available | Microsoft Entra ID (Azure AD) and personal accounts |
Using GitHub Sign-In
Step 1: Navigate to Login
- Go to your organization's Alpha Platform URL
- You'll see the sign-in page
Step 2: Choose GitHub
- Click Continue with GitHub
- You'll be redirected to GitHub's sign-in page
Step 3: Authenticate with GitHub
- Enter your GitHub username or email
- Enter your GitHub password (if required)
- Complete any 2FA prompts
Step 4: Grant Permissions
On first sign-in, you'll see a consent screen asking to:
- Read your basic profile info
- Read your email addresses
Click Authorize to proceed.
Step 5: Access Alpha
- You're redirected back to Alpha Platform
- Existing users land on the dashboard; new users are taken to onboarding
- Session is established
Using Microsoft Sign-In
The Microsoft flow is identical: click Continue with Microsoft, authenticate with your Microsoft account, and consent to sharing your basic profile and email address.
Account Linking
Automatic Linking
If your GitHub or Microsoft email matches an existing Alpha account:
- The provider is linked to your account automatically on first OAuth sign-in
- You can use either method to sign in
- All data remains associated
- Your account is marked as verified (the provider has already verified your email)
New Accounts
If no Alpha account exists for your provider email:
- A new account is created automatically
- If a tenant has claimed your email domain (see below), you join that tenant instead of getting your own workspace
- Otherwise a trial workspace is provisioned for you (4-week trial)
- You're taken through onboarding after sign-in
Joining a Tenant by Email Domain
When a tenant has configured a custom domain (for example acme.com), users who sign in via OAuth with a matching email address (jane@acme.com) are connected to that tenant:
- By default, a join request is created. A tenant admin must approve it from Settings → Users before you can access the tenant.
- If the tenant has enabled Auto-add users with matching email domain (in Settings → Tenant, below the custom domain field), you are added as an active member immediately — no approval needed.
This also applies to existing Alpha users: signing in via OAuth with a matching email domain creates a join request for (or adds you to) the domain tenant, in addition to any tenants you already belong to. Memberships you already have are never changed by this, and users who were deactivated by an admin are not re-added automatically.
Tenant admins: only enable auto-add if everyone with an email address on your domain should get access. Otherwise leave it off and approve join requests from Settings → Users, where pending requests show an approve/deny action.
Security Considerations
Provider Security
Your security depends on your OAuth provider:
- Enable 2FA on your GitHub/Microsoft account
- Use strong provider passwords
- Review connected apps regularly
- Revoke access for apps you don't use
Session Behavior
OAuth sessions in Alpha:
| Setting | Behavior |
|---|---|
| Session duration | Up to 7 days (access tokens last 6 hours and are refreshed automatically) |
| Provider logout | Does not log out of Alpha |
| Alpha logout | Does not log out of provider |
Signing out of Alpha does not sign you out of GitHub or Microsoft. Always sign out of both on shared devices.
Troubleshooting
"Access Denied"
This may mean:
- You cancelled the authorization on the provider's consent screen
- The OAuth configuration needs attention
Try signing in again and approving the consent prompt.
"Invalid State" / Expired Flow
The sign-in flow must be completed within 10 minutes of starting it:
- Return to the Alpha sign-in page
- Start the OAuth flow again
- Complete the provider sign-in promptly
Wrong Account Linked
Linking is based on email address:
- Make sure your provider account uses the same email as your Alpha account
- If the emails differ, a separate Alpha account is created instead
Removing OAuth Access
You can revoke Alpha's access from the provider side:
From GitHub
- Go to GitHub Applications settings
- Open Authorized OAuth Apps
- Find Alpha Platform
- Click Revoke
From Microsoft
- Go to My Apps or your Microsoft account's privacy settings
- Find Alpha Platform under apps with account access
- Remove its access