Skip to content

403 when authentication headers are sent #6

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

Open
djanowski opened this issue Mar 31, 2016 · 0 comments
Open

403 when authentication headers are sent #6

djanowski opened this issue Mar 31, 2016 · 0 comments

Comments

@djanowski
Copy link

The redirect is convenient, but if you're using authentication headers, the fact that the web server processes the request can lead to insecure behavior: developer sends secret token over HTTP, and if the client library automatically follows redirects, everything works, but the token was exposed.

I suggest you respond with 403 when using authentication, similar to what you do with non-GETs.

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

1 participant