-
Notifications
You must be signed in to change notification settings - Fork 874
docs: document that default GitHub app requires device flow #17162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add clear documentation explaining that when using the default GitHub app: - Device flow is always enabled - Setting CODER_OAUTH2_GITHUB_DEVICE_FLOW=false will be ignored - This behavior only applies to the default GitHub app Fixes #16824 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor suggestion but LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The doc change looks good, but this PR doesn't close the issue. It doesn't address the 2nd requirement:
- log a warning in coder server
thanks @hugodutka - do you know if we already have some documentation on how a user would add a log in Coder server? I'm not seeing anything I can copy or point to in the docs |
Co-authored-by: M Atif Ali <atif@coder.com>
@EdwardAngert by "log a warning in coder server" I meant that coder itself should detect when a user tries to disable the device flow with the default config and log a warning in the terminal that this operation is invalid. |
I see, @hugodutka, thanks! I created a new issue for that feature request #17228 this way, we can merge this PR as resolving the docs need and the eng teams can scope the feature request |
Issue
Closes #16824
Document that the default GitHub authentication app provided by Coder requires device flow, and that this behavior cannot be overridden.
Changes Made
Claude updated the GitHub authentication documentation to:
CODER_OAUTH2_GITHUB_DEVICE_FLOW
settingCODER_OAUTH2_GITHUB_DEVICE_FLOW
setting is ignored when using the default apppreview
🤖 Generated with Claude Code