Safeguard Docs
SSO AuthenticationSocial Login

Microsoft

Set up "Sign in with Microsoft" OAuth login for your Safeguard tenant.

Microsoft

  1. In the Microsoft Entra admin center, go to App registrations → New registration.
  2. Set Redirect URI (type Web) to the Callback URL.
  3. Under Certificates & secrets, create a new client secret and copy its value immediately (it's only shown once).
  4. Copy the Application (client) ID.
  5. In Safeguard, click Add Provider → Microsoft, and enter:
    • Client ID
    • Client Secret
    • Azure Tenant (optional) — use common to allow any Microsoft account, organizations for any work/school account, or a specific tenant ID/domain to restrict sign-in to one organization.
  6. Click Save.

Example values

Dummy values illustrating the shape — use the real ones from the Microsoft Entra admin center.

FieldExample 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

On this page