Hello Team,
I have been trying to integrate Azure AD along with Vault using the below link,
But after configuration when I try to login it gives me “claim email not found in token”.
When I define the oidc scope as email while writing the role details in oidc auth instead of graph api then the issue is resolved and I am able to retrieve the token. Reference of the step mentioned below,
vault write auth/oidc/role/approle
user_claim=“email”
allowed_redirect_uris=“http://localhost:8250/oidc/callback”
allowed_redirect_uris=“https://${VAULT_ADDR}/ui/vault/auth/oidc/oidc/callback”
groups_claim=“groups”
policies=“kv-reader”
oidc_scopes=“https://graph.microsoft.com/.default”
From Azure side I have verified the steps and we are good on that side. So, kindly let me know if anyone has any idea around this.