Skip to content

Implement Supabase-to-Nakama login polish and auth state UI #150

@JOY

Description

@JOY

Summary

Polish the current Supabase anonymous login and Nakama custom auth bridge so auth state is clear during Play Mode and future playtests.

Scope

  • Show auth state, Supabase user id, Nakama session state, and fallback mode in debug UI.
  • Keep local device fallback explicit and visually marked.
  • Add retry and error messaging for disabled anonymous auth, expired token, or Nakama rejection.
  • Document required Supabase settings for local Play Mode.

Acceptance Criteria

  • Play Mode clearly shows whether auth is Supabase-backed or local fallback.
  • Supabase anonymous login failures produce actionable debug status.
  • Nakama custom auth rejection does not silently fall back unless fallback is explicitly enabled.
  • Backend or integration tests cover accepted and rejected token paths where possible.

References

  • docs/ARCHITECTURE.md
  • ROADMAP.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:nakamaNakama runtime, storage, auth, social, or backend modulesarea:unityUnity client, scenes, assets, or editor workflowenhancementNew feature or requestpriority:p1High priority for current milestonesize:mMedium task

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions