Skip to content

feat(auth): edit cookie options#155

Open
furkanaltaca wants to merge 2 commits intokodlamaio-projects:mainfrom
furkanaltaca:feature/cookie-set
Open

feat(auth): edit cookie options#155
furkanaltaca wants to merge 2 commits intokodlamaio-projects:mainfrom
furkanaltaca:feature/cookie-set

Conversation

@furkanaltaca
Copy link
Copy Markdown
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

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.

1 participant