Skip to content

fix(auth): enable cross-origin cookie support for refresh/access toke… - #24

Merged
IsamaDes merged 1 commit into
mainfrom
refactor/migrate-to-postgres
Jan 8, 2026
Merged

fix(auth): enable cross-origin cookie support for refresh/access toke…#24
IsamaDes merged 1 commit into
mainfrom
refactor/migrate-to-postgres

Conversation

@IsamaDes

@IsamaDes IsamaDes commented Jan 8, 2026

Copy link
Copy Markdown
Owner

…ns in production

  • Set sameSite: 'none' and secure: true for cookies in production
  • Updated CORS middleware to allow frontend origin and credentials
  • Ensure frontend axios requests use withCredentials: true
  • Resolves 403 Forbidden errors when refreshing tokens in production

…ns in production

- Set sameSite: 'none' and secure: true for cookies in production
- Updated CORS middleware to allow frontend origin and credentials
- Ensure frontend axios requests use withCredentials: true
- Resolves 403 Forbidden errors when refreshing tokens in production
@IsamaDes
IsamaDes merged commit 463043f into main Jan 8, 2026
1 of 2 checks passed
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