Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(auth): edit cookie options #155

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

furkanaltaca
Copy link
Contributor

While working with Angular client project, the refresh token is not saved as a cookie by the browser because the settings do not allow it. As a result, I added two settings to fix the error I received: "Secure: true" and "SameSite: none".

Cookie settings: Cookie settings per Chrome and Firefox update in 2021:
SameSite=None
Secure

Check this: https://stackoverflow.com/questions/46288437/set-cookies-for-cross-origin-requests

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant