OpenBao SSO with Microsoft Entra ID (OIDC)
Use tenant-specific Entra ID login and map group object IDs to OpenBao access policies.
Last updated
On this page (5)
OpenBao · Microsoft Entra ID · OIDC
Before you start
- Entra application administrator and OpenBao auth administrator.
- Tenant ID, application ID and secret value.
Configure sign-in
- Register a tenant-scoped application and add the UI and/or localhost CLI redirect URIs documented by OpenBao.
- Enable the OIDC mount, configure https://login.microsoftonline.com/<tenant>/v2.0 as discovery issuer, and supply the application credentials.
- Create a role with a stable user claim and the groups claim. Configure Entra to emit the required group claims and map their IDs to OpenBao external group aliases.
Verify the result
- Compare access for a mapped and unmapped account.
- If users have many group memberships, test claim overage and use the separately documented provider-specific handling where needed.
