Skip to content

fix: allow direct first login for LinuxDo OAuth#2273

Open
handsomjack0 wants to merge 3 commits intoWei-Shaw:mainfrom
handsomjack0:hotfix/linuxdo-direct-login-v0.1.125-clean
Open

fix: allow direct first login for LinuxDo OAuth#2273
handsomjack0 wants to merge 3 commits intoWei-Shaw:mainfrom
handsomjack0:hotfix/linuxdo-direct-login-v0.1.125-clean

Conversation

@handsomjack0
Copy link
Copy Markdown

Summary

  • allow direct account creation and login for first-time LinuxDo OAuth users when there is no compatible email conflict
  • keep the existing direct-login path for already bound LinuxDo identities
  • keep invite-only signup working by using an invitation-only pending flow instead of falling back to legacy email completion
  • add regression tests for both direct-login and invite-only flows

Validation

  • local test command:
    go test ./internal/handler -run ''TestLinuxDoOAuth|TestCompleteLinuxDoOAuthRegistration'' -count=1
  • result: passed

Notes

  • the currently deployed hotfix image was built from the same logic and is already running on the DO host

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@handsomjack0
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant