GitHub OAuth
Configure GitHub login in rs-auth.
GitHub OAuth follows the same flow as Google, but user info handling differs slightly because email resolution may require a second request to GitHub's email endpoint.
Current support includes:
- authorization redirect
- callback handling
- account creation/linking
- session issuance
- JSON mode and redirect mode
GitHub email resolution prefers the primary verified email returned by GitHub when the main user payload does not include one.