Skip to content

Fix: Cors Header added and allowed Origins specified#22

Merged
arnaudfnr merged 2 commits into
mainfrom
arnaudfnr/fix-auth-JWT
Feb 6, 2026
Merged

Fix: Cors Header added and allowed Origins specified#22
arnaudfnr merged 2 commits into
mainfrom
arnaudfnr/fix-auth-JWT

Conversation

@arnaudfnr
Copy link
Copy Markdown
Collaborator

Fix missing CORS settings in backend to allow requests from frontend.
I put token endpoints under the prefix auth for more clarity.
I added auth/verify endpoint to be able to check validity of stored token from frontend side.

Added some dummy tests on webapp to check viability of fix (TO BE REMOVED).

@arnaudfnr arnaudfnr linked an issue Feb 5, 2026 that may be closed by this pull request
@arnaudfnr arnaudfnr force-pushed the arnaudfnr/fix-auth-JWT branch from 7a65675 to 02c6e6c Compare February 5, 2026 13:41
@arnaudfnr arnaudfnr requested a review from Cabanon February 5, 2026 13:42
@arnaudfnr arnaudfnr merged commit 2f42fa3 into main Feb 6, 2026
1 check passed
@arnaudfnr arnaudfnr deleted the arnaudfnr/fix-auth-JWT branch February 6, 2026 11:02
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.

[D4T Bakend] Bug - Header CORS manquant dans les requêtes

2 participants