Skip to content

feat: use cookie auth in favor of JWTs#4

Open
Tjaitil wants to merge 1 commit intomainfrom
feat/migrate-to-identity-core-cookie-auth
Open

feat: use cookie auth in favor of JWTs#4
Tjaitil wants to merge 1 commit intomainfrom
feat/migrate-to-identity-core-cookie-auth

Conversation

@Tjaitil
Copy link
Copy Markdown
Owner

@Tjaitil Tjaitil commented Apr 9, 2026

This PR adds cookie auth with package Core Identity from microsoft. The benefits is that we don't roll our own auth like we did.

It is still possible to use the JWT later if we want to. But it quickly became very complex, and somewhat necessary for the application where the frontend and backend is tight coupled.

New endpoints for logging out and getting the authenticated users has been added. Also consolidate all auth into the UserContext

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