-
Notifications
You must be signed in to change notification settings - Fork 0
User / guest auth #53
Copy link
Copy link
Open
Labels
backendIssue relates to implementation of backend/server codeIssue relates to implementation of backend/server codefrontendIssue relates to implementation of frontend/client codeIssue relates to implementation of frontend/client codehelp wantedExtra attention is neededExtra attention is needed
Description
Overview
We need to be able to authenticate user / guest interactions with the app via REST.
Some Options:
JWT
- User logs in -> server returns a signed JWT
- Client stores it
- Every REST request includes the JWT
Also,
- This could be shared in the sharable guest link.
Server‑side sessions
- Session table
- User logs in -> server creates a session entry in DB
- Server returns a generated session ID
- Client sends it with every request to indicate logon
Open Questions:
- Which of these options best supports both signed-in authentication and ephemeral game sessions?
- Do we need a combination of the two?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendIssue relates to implementation of backend/server codeIssue relates to implementation of backend/server codefrontendIssue relates to implementation of frontend/client codeIssue relates to implementation of frontend/client codehelp wantedExtra attention is neededExtra attention is needed
Projects
Status
Ready