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

Hanko cookie does not have SameSite attribute #1245

Closed
2 tasks done
FlxMgdnz opened this issue Dec 5, 2023 · 0 comments · Fixed by #1251
Closed
2 tasks done

Hanko cookie does not have SameSite attribute #1245

FlxMgdnz opened this issue Dec 5, 2023 · 0 comments · Fixed by #1251
Assignees
Labels
bug Something isn't working

Comments

@FlxMgdnz
Copy link
Member

FlxMgdnz commented Dec 5, 2023

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

Describe the bug

When I use my Hanko-enabled site in Firefox, I get warning messages about the "hanko" cookie. This is the German message:
Das Cookie "hanko" verfügt über keinen gültigen Wert für das "SameSite"-Attribut. Bald werden Cookies ohne das "SameSite"-Attribut oder mit einem ungültigen Wert dafür als "Lax" behandelt. Dadurch wird das Cookie nicht länger an Kontexte gesendet, die zu einem Drittanbieter gehören. Falls Ihre Anwendung das Cookie in diesen Kontexten benötigt, fügen Sie bitte das Attribut "SameSite=None" zu ihm hinzu. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite.

Reproducing the bug

Use Hanko auth in Firefox, check the Console

Logs

No response

Configuration

No response

Hanko Version

0.9.1

OS Hanko Backend

None

OS Version Hanko Backend

No response

OS

None

OS Version

No response

Browser Version

No response

Environment

None

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants