tui: route device-code auth through app server#16827
Conversation
Addresses #7646 Problem: TUI onboarding handled device-code login directly and auth screens kept animating while users needed to copy login details. Solution: Move device-code onboarding onto app-server login APIs and freeze auth-flow animations while those copy-oriented screens are visible.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3e1e22117d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address PR feedback on #16827
|
Tested this locally and it worked great. I also had Codex do a careful review pass, and it found one P2 issue that might be worth adding a small fix for before merging. Quoting the Codex review note separately:
|
|
Fixed in Good catch: if the TUI backed out while |
Addresses #7646
Also enables device code auth for remote TUI sessions
Problem: TUI onboarding handled device-code login directly rather than using the recently-added app server support for device auth. Also, auth screens kept animating while users needed to copy login details.
Solution: Route device-code onboarding through app-server login APIs and make the auth screens static while those copy-oriented flows are visible.