
Supported identity providers
Backstage integrates with many identity providers so you can offer one-click sign-in options on the login page. Common providers include:- GitHub
- Auth0
- OneLogin
- SAML / OIDC providers (custom integrations)
After you configure a provider in Backstage, its sign-in button will appear on the login page.
How the authentication workflow works (OAuth example)
Consider a typical GitHub OAuth flow:- The user is already signed into GitHub in their browser (for example, as
john). - They click “Sign in with GitHub” on the Backstage login page.
- GitHub authenticates the user and returns identity information (username, email, etc.) to Backstage.
- Backstage attempts to find a matching
Userentity in its catalog using the received identity information.

Common failure: “No matching User entity”
If Backstage cannot find a correspondingUser entity in the catalog for the identity returned by the provider (and you haven’t configured auto-provisioning or a custom mapping), the login fails. For example, if GitHub returns the username john but there is no User entity with metadata name john, the sign-in attempt will be rejected.

User entity metadata name exactly. To allow the user john to sign in with GitHub, create a User entity in the Backstage catalog with the corresponding metadata name. Example:
By default, Backstage requires the identity provider username to match a catalog
User entity metadata name exactly. To avoid manual creation of every user, configure integrations to automatically import users from external systems (for example, a GitHub organization, LDAP, or another user directory).Automating user and team provisioning (integrations)
Rather than creating user entities manually, you can import users and teams into Backstage using integrations. These integrations synchronize users and groups from external systems so Backstage already contains the requiredUser entities when users attempt to sign in.
Common integration sources:

User entities ahead of authentication, allowing seamless sign-in and centralized access control.
Troubleshooting checklist
- Confirm the identity provider is configured in Backstage and the sign-in option appears on the login page.
- Verify the provider returns the expected username/email in the identity payload.
- Ensure a corresponding
Userentity exists in the Backstage catalog with a matching metadata name (or configure mapping/provisioning). - Consider enabling automatic user import or SCIM provisioning to avoid creating users manually.