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

Hashicorp cloud platform (HCP) login #101

Open
andrewbaxter opened this issue Aug 1, 2024 · 3 comments
Open

Hashicorp cloud platform (HCP) login #101

andrewbaxter opened this issue Aug 1, 2024 · 3 comments

Comments

@andrewbaxter
Copy link

andrewbaxter commented Aug 1, 2024

Edit: I noticed that there's already similar code in here for jwt/oidc, so updating the issue accordingly.

Hashicorp cloud has an oauth2 browser login method that I'd like to use. I see this has a jwt/oidc that looks similar, but I can't tell if that's the same. The HCP thing doesn't appear to be oidc (maybe?) and the port, some of the endpoints, etc are different (i.e. it uses oauth2/auth for the auth url, but the oidc method implemented here seems to use oidc/auth_url?).

For reference, the code the hcp uses is here:

I'd be happy to try implementing it if you have any suggestions on how to structure it.

@andrewbaxter andrewbaxter changed the title Browser (oauth2) auth method Hashicorp cloud platform (HCP) login Aug 1, 2024
@Haennetz
Copy link
Collaborator

Haennetz commented Aug 6, 2024

Hey @andrewbaxter, did I assume that right that you plan to use this create for accessing a HCP vault instance?

@andrewbaxter
Copy link
Author

Yeah, precisely. Although the more I use it the more it seems different from the self hosted vault I'm used to...

@Haennetz
Copy link
Collaborator

Haennetz commented Aug 6, 2024

I also found a documentation about autenticate to HCP. If you want fell free to add it you can use the new modul named hcp for that. I don't have any expierence with the HCP.

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

2 participants