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

Are runtimeHooks only intended for the headers? #371

Closed
genu opened this issue Feb 8, 2024 · 3 comments
Closed

Are runtimeHooks only intended for the headers? #371

genu opened this issue Feb 8, 2024 · 3 comments
Labels
question Further information is requested

Comments

@genu
Copy link

genu commented Feb 8, 2024

Its not clear from the documentation, but it seems like runtime hooks only really work with overrwriting headers but not previous configuration as it indicates?

Can I, for example, override the enabled flag under basicAuth?

@genu genu added the question Further information is requested label Feb 8, 2024
@Baroshem
Copy link
Owner

Baroshem commented Feb 9, 2024

Hey there!

Good question. From the implementation made by Julien I think it is only aimed to work with headers.

#298

So I dont think you could use it for basicAuth as it works differently (it is not a header per se but rather a middleware)

@Baroshem
Copy link
Owner

Hey @genu

Did I answer your question? :)

@genu
Copy link
Author

genu commented Feb 15, 2024

Yes, thx

@genu genu closed this as completed Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants