Split scene planning into global + per-scene context files

This commit is contained in:
dingo
2026-02-22 14:11:44 +00:00
parent 34e56d4d3d
commit d711c50d4e
21 changed files with 456 additions and 724 deletions
@@ -0,0 +1,19 @@
# OAuthCallback Scene
## UI
- Verifying auth state message
- Success/failure redirect panel
## Client
- Receive callback code/state and exchange with backend.
- On success transition to `MainMenu`.
## Server
- Exchange auth code with provider and bind/create game account.
## Data Exchange
### Client -> Server (`OAuthExchangeRequest`)
- `requestId`, `provider`, `authorizationCode`, `state`, `codeVerifier`
### Server -> Client (`OAuthExchangeResponse`)
- `requestId`, `success`, `accessToken`, `refreshToken`, `expiresAtUtc`, `accountSummary`, `errorCode`