feat(oauth): Show public app device flow URLs#111655
Merged
Conversation
Show the device authorization and verification URLs on the OAuth application details page for public clients. Public clients can use device flow, but the settings page only showed the authorize and token endpoints. Add the device endpoints alongside the existing OAuth URLs and normalize urlPrefix before composing them to avoid double slashes in copied values.
TkDodo
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Show the device authorization and verification URLs on the OAuth application details page for public clients.
Public clients can use device flow today, but the settings UI only exposes the authorize and token endpoints. This adds the static device-flow URLs to the same credentials block so CLI and native app setups do not need to bounce back to the auth docs.
This keeps the extra fields scoped to public apps and normalizes
urlPrefixbefore composing the OAuth URLs so copied values do not contain duplicate slashes.