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

Authentication #1

Closed
snikch opened this issue Mar 8, 2021 · 3 comments
Closed

Authentication #1

snikch opened this issue Mar 8, 2021 · 3 comments

Comments

@snikch
Copy link
Contributor

snikch commented Mar 8, 2021

Hi there,

I'm looking at using your provider (thank you for building it). One of our requirements is to be able to run it from Terraform Cloud. There's no security mechanism built into the ORY Admin API, which rightfully belongs at the reverse proxy layer. We were hoping to add a basic Bearer token to the requests that are sent to the admin API.

Would you be amenable to me creating a pull request which adds an optional configuration / environment variable for setting a Bearer token that would be added to outgoing requests? I'd likely add this as a custom transport provided to the Hydra client.

@svrakitin
Copy link
Owner

svrakitin commented Mar 8, 2021

@snikch Hi!

Sure, I can add a section to configure http client and its headers or feel free to submit a PR.

I was also considering using OAuth2 Client Credentials flow for authentication.

@svrakitin
Copy link
Owner

@snikch Released in v0.1.2.

@snikch
Copy link
Contributor Author

snikch commented Mar 9, 2021

Great! Thanks

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