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

Let api_key endpoint authentication strategy add the api key to the query parameter #617

Closed
3 tasks done
dadrus opened this issue May 8, 2023 · 0 comments · Fixed by #630
Closed
3 tasks done
Labels
feature Used for new features
Milestone

Comments

@dadrus
Copy link
Owner

dadrus commented May 8, 2023

Preflight checklist

Describe the background of your feature request

This is actually highly discouraged to do. And this is also the reason, why heimdall does not allow doing that. Unfortunately, there are however systems out there, which expect api keys in a query.

Describe your idea

Extend the api_keystrategy to allow the in parameter to be query. As of today, sending API keys is only supported in headers and cookies if an endpoint authentication strategy is used.

Are there any workarounds or alternatives?

Configure the endpoint directly with the required query parameter. Usage of environment variables is supported as of today as well. So a new option described above will just unify the configuration, without adding anything to the existing functionality.

Version

v0.7.0-alpha

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Used for new features
Projects
None yet
1 participant