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

Include message body in 302 responses #564

Merged
merged 1 commit into from
Dec 23, 2021
Merged

Conversation

michielvangendt
Copy link

Description

The 302 responses from the auth API do not contain a message body. This is in conflict with the RFCs below and causes Traefik (a reverse proxy) to invalidate the responses. In this pull request, I add a response body to the 302 responses.

References

All 1xx (Informational), 204 (No Content), and 304 (Not Modified) responses must not include a message-body. All other responses do include a message-body, although the body may be of zero length.

The server's response payload usually contains a short hypertext note with a hyperlink to the different URI(s).

@michielvangendt michielvangendt requested a review from a team as a code owner December 21, 2021 19:07
@vercel
Copy link

vercel bot commented Dec 21, 2021

Someone is attempting to deploy a commit to the Auth0 Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@adamjmcgrath adamjmcgrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamjmcgrath adamjmcgrath merged commit 472ea26 into auth0:main Dec 23, 2021
@adamjmcgrath
Copy link
Contributor

Will put up a release after the holidays

@adamjmcgrath adamjmcgrath mentioned this pull request Jan 6, 2022
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

Successfully merging this pull request may close these issues.

2 participants