Skip to content

User / guest auth #53

@tj-schultz

Description

@tj-schultz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssue relates to implementation of backend/server codefrontendIssue relates to implementation of frontend/client codehelp wantedExtra attention is needed

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions