Repository navigation
Self-serve GitHub disconnect with confirmation - #461
Merged
Merged
Conversation
All users can now disconnect their GitHub account from the Integrations page, not just Max license holders. The disconnect goes through a confirmation modal that explains the consequences (private repo access revoked, plugin repo listing disabled) and reminds users to grant org access when re-authorizing. Disconnecting also clears the cached collaborator statuses so the page reflects the change immediately. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
SimonTingle
pushed a commit
to SimonTingle/nativephp.com
that referenced
this pull request
Sep 19, 2026
…erve-disconnect Self-serve GitHub disconnect with confirmation
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
nativephp/mobilebanner, which only renders for Max license holders, so plugin developers had no way to disconnect (see the support thread where a user couldn't re-authorize to grant org repo access).nativephp/mobile,nativephp/claude-code) revoked, plugin repo listing disabled, plus a reminder to grant organization access when re-authorizing. Users who sign in via GitHub with no password set get an extra warning to set one first.GitHubIntegrationController::disconnect()now clears the cached collaborator statuses so the page reflects the disconnect immediately instead of after up to 5 minutes.Test plan
php artisan test tests/Feature/GitHubIntegrationTest.php(14 passed, incl. 3 new tests: card visible without a license, disconnect option for connected users without a license, disconnect clears token + caches)php artisan test tests/Feature/DiscordIntegrationTest.php(same page, 5 passed)🤖 Generated with Claude Code