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

Required/optional credential cookie attributes need to be defined #104

Open
sbweeden opened this issue Feb 20, 2025 · 0 comments
Open

Required/optional credential cookie attributes need to be defined #104

sbweeden opened this issue Feb 20, 2025 · 0 comments

Comments

@sbweeden
Copy link
Contributor

In initial experimentation using Chrome Canary and the demonstration server on glitch, I noticed that auth cookie (cname) is set with an explicit domain attribute, and that this appears in to be required, both in the set-cookie header and in the credentials element of the session registration response as well. In the particular case of the domain cookie attribute I feel this shouldn't be required and should default to the hostname of the current web origin just as happens with a regular set-cookie header. In the general case if there is a good reason for requiring this or any other particular cookie attributes in either the set-cookie headers or the credentials element of a registration response, then the specification needs to be explicit in defining which attributes are required and why, and which are optional.

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