nArchitecture icon indicating copy to clipboard operation
nArchitecture copied to clipboard

feat(auth): edit cookie options

Open furkanaltaca opened this issue 1 year ago • 0 comments

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

furkanaltaca avatar Mar 03 '24 23:03 furkanaltaca