hashicorp / vault

A tool for secrets management, encryption as a service, and privileged access management
https://www.vaultproject.io/
Other
31.08k stars 4.2k forks source link

[feature request] Implement OIDC Login initiated from a third party #15112

Open levequej opened 2 years ago

levequej commented 2 years ago

Hello,

I'd like to have the option to use OIDC to initiate login from a 3rd party (okta in my case) , as described in Section 4 of the Open Id Connect 1.0 spec .

The usecase would be for a vault user to be able to authenticate to vault through a click of a button via its okta app dashboard. I guess it would also be required to have the possibility to pass the desired role (and oidc path maybe) in the request.

It seems this is not possible at the moment. Am I correct ?

Thanks,

Julien

levequej commented 1 year ago

Hi, any update concerning when/if this feature be added to the roadmap?

cognifloyd commented 10 months ago

I have successfully configured Okta to allow: "Login initiated by: Either Okta or App." https://help.okta.com/en-us/content/topics/apps/apps_app_integration_wizard_oidc.htm

In the Okta Admin Dashboard, go to:

Now, the Vault App shows up in the Okta Dashboard, and clicking on it takes the user to the vault login page with the oidc method selected. One gotcha with this approach is that you must be using the default mount path oidc, or the user will still have to specify that before they can click the "Sign in with Okta" button in Vault's UI (this shortcoming is covered by #10140).

Does that do what you want? What else is missing to fully support OIDC section 4?