SSO AuthenticationSocial Login
Microsoft
Set up "Sign in with Microsoft" OAuth login for your Safeguard tenant.
Microsoft
- In the Microsoft Entra admin center, go to App registrations → New registration.
- Set Redirect URI (type Web) to the Callback URL.
- Under Certificates & secrets, create a new client secret and copy its value immediately (it's only shown once).
- Copy the Application (client) ID.
- In Safeguard, click Add Provider → Microsoft, and enter:
- Client ID
- Client Secret
- Azure Tenant (optional) — use
commonto allow any Microsoft account,organizationsfor any work/school account, or a specific tenant ID/domain to restrict sign-in to one organization.
- Click Save.
Example values
Dummy values illustrating the shape — use the real ones from the Microsoft Entra admin center.
| Field | Example value |
|---|---|
| Redirect URI (register in Entra) | https://api.safeguard.sh/auth/api/v1/sso/callback |
| Application (client) ID (paste into Safeguard) | 11111111-2222-3333-4444-555555555555 |
| Client Secret — the secret value, not its ID (paste into Safeguard) | Abc8Q~dummy.secret.value.xxxxxxxxxxxxxxxxx |
| Azure Tenant (optional) | common |