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

Use response_mode=cookie in example for "5.2 Unauthenticated Requests" #2

Open
johakoch opened this issue May 30, 2024 · 0 comments
Open

Comments

@johakoch
Copy link

johakoch commented May 30, 2024

Hi @jaredhanson

This is about https://datatracker.ietf.org/doc/draft-hanson-oauth-cookie-response-mode/ (which apparently is a more recent version of the document in this repo).

In section "5.2. Unauthenticated Requests" you give an example how a protected resource may respond to an unauthenticated request by

  • setting the WWW-Authenticate response header field with Thomas Broyer's Cookie auth scheme and
  • setting an HTML login form as the response body content.

To me it would seem more appropriate to give an example where the response contains a redirect to the authorization endpoint using the response_mode=cookie that this spec defines.

See also aaronpk/draft-hanson-oauth-cookie-response-mode#2

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