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

Add parameter to query or body without removing headers #110

Open
vitorfhc opened this issue Mar 15, 2023 · 1 comment
Open

Add parameter to query or body without removing headers #110

vitorfhc opened this issue Mar 15, 2023 · 1 comment

Comments

@vitorfhc
Copy link

Autorize has two modes of defining the credentials for the low-privilege user: replacing headers or queries.

What about both? I have an application that sends the CSRF in the header and as a body parameter on POST requests.

@Quitten
Copy link
Owner

Quitten commented Apr 11, 2023

@vitorfhc - Thank you for the heads up.

I don't have time to implement this at the moment, but I would like to share my thoughts on how should it be done in case someone in the community would like to contribute. (I see @terminalJunki3 pretty active recently)

I think we should implement this as part of the "saved headers" feature, so each saved header would have its own "mode" (e.g. headers/body param/query para/path param) then each of them can be active or not, then we will be able to easily determine which modifications are in place.

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