Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically match Group Alias with OIDC groups claim #121

Open
tonyeung opened this issue Jun 26, 2020 · 0 comments
Open

Automatically match Group Alias with OIDC groups claim #121

tonyeung opened this issue Jun 26, 2020 · 0 comments

Comments

@tonyeung
Copy link

tonyeung commented Jun 26, 2020

Background: Azure AD login with OIDC auth method.
Azure AD is passing the AD samaccountname group names via the groups claim in the ID Token.
Vault is setup to use one of the group names setup via roles/group-alias.

Current behavior: if i leave the role field blank in the OIDC browser login, it defaults to the default group specified in Vault's Role config. If i put in the setup roles/group-alias in the field the right policy gets applied as expected.

Expected behavior: vault looks at the roles/group-alias configuration, and any role/alias name that matches a group in the group claims applies the correct policy. If multiple policies are not available, it applies the first one that matches, and the admins need to ensure that users do not have more than one group that could match a vault config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant