Skip to content

feat: polish Supabase Nakama auth HUD#173

Merged
JOY (JOY) merged 1 commit into
devfrom
codex/auth-state-ui
May 23, 2026
Merged

feat: polish Supabase Nakama auth HUD#173
JOY (JOY) merged 1 commit into
devfrom
codex/auth-state-ui

Conversation

@JOY
Copy link
Copy Markdown
Contributor

Summary

  • add a dedicated Play Mode auth HUD block with Supabase-backed, local-fallback, and no-session states
  • add an auth retry button that reruns the full Supabase to Nakama custom-auth flow
  • humanize common Supabase anonymous auth and Nakama custom-auth bridge failures
  • extend Nakama custom-auth tests for Supabase server-error and invalid-JSON rejection paths
  • update architecture, roadmap, changelog, backend README, and Play Mode smoke checklist

Verification

  • npm.cmd ci
  • npm.cmd run build
  • npm.cmd test
  • npx.cmd markdownlint-cli2@0.15.0 CHANGELOG.md ROADMAP.md docs/ARCHITECTURE.md docs/setup/play-mode-smoke-checklist.md backend/nakama/README.md
  • rg -n "—|–" CHANGELOG.md ROADMAP.md docs/ARCHITECTURE.md docs/setup/play-mode-smoke-checklist.md backend/nakama/README.md backend/nakama/tests/supabase_custom_auth.test.mjs Unity/Assets/_SecondSpawn/Scripts/AI/SecondSpawnGatewayClient.cs Unity/Assets/_SecondSpawn/Scripts/UI/HUDController.cs (no matches)
  • git diff --check
  • local code-review fallback: APPROVED, Unity still sends only Supabase access tokens to Nakama, Nakama owns token verification, device auth remains explicit fallback, no secrets or package changes

Notes

Root Unity recompile and Play Mode smoke will be run after merge into dev because the active Unity Editor is opened on the root project.

Closes #150

@JOY JOY (JOY) force-pushed the codex/auth-state-ui branch from a7d9d53 to d824134 Compare May 23, 2026 10:38
@JOY JOY (JOY) marked this pull request as ready for review May 23, 2026 10:42
@JOY JOY (JOY) merged commit e1437da into dev May 23, 2026
2 of 3 checks passed
@JOY JOY (JOY) deleted the codex/auth-state-ui branch May 23, 2026 11:09
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