Third-party Sign-in
Supported providers
| Provider | Region | Notes |
|---|---|---|
| Global | OAuth 2.0 | |
| GitHub | Global | OAuth 2.0 |
| China | Open Platform | |
| Apple | Global | Sign in with Apple |
Linking
- New: clicking provider creates account auto
- Existing: Settings → Linked Accounts → Connect
- One CodePus account can link multiple providers
Permissions requested
- Public profile (avatar / name)
- Never: contacts, repos, files
Unlinking
Must have at least one sign-in method (password OR provider) remaining.
Failure
- access_denied: user declined provider consent
- email_already_in_use: that email is on another CodePus account; sign in with password and link instead