20 lines
455 B
Markdown
20 lines
455 B
Markdown
# OAuthStart Scene
|
|
|
|
## UI
|
|
- Provider buttons
|
|
- OAuth status text
|
|
|
|
## Client
|
|
- Start OAuth flow with selected provider.
|
|
- Open provider auth URL.
|
|
|
|
## Server
|
|
- Generate signed OAuth start URL and anti-forgery state.
|
|
|
|
## Data Exchange
|
|
### Client -> Server (`OAuthStartRequest`)
|
|
- `requestId`, `provider`, `returnUri`, `deviceId`
|
|
|
|
### Server -> Client (`OAuthStartResponse`)
|
|
- `requestId`, `authorizationUrl`, `state`, `codeVerifier` (if PKCE client-managed)
|