GitHub OAuth login enters an infinite redirect loop
Description
I’m unable to log in to Codecov using GitHub.
The authentication flow enters an infinite redirect loop:
- Go to https://app.codecov.io/login
- Click Log in with GitHub.
- GitHub opens and asks me to authorize Codecov.
- I authorize Codecov successfully.
- I’m redirected back to Codecov.
- Codecov sends me back to the login page and asks me to authenticate with GitHub again.
- The same flow repeats indefinitely.
There is no error message shown. The GitHub authorization appears to succeed, but Codecov does not keep the authenticated session and starts the login flow again.
Expected behavior
After successfully authorizing Codecov on GitHub, I should be redirected to Codecov and remain authenticated.
Actual behavior
The GitHub OAuth flow continuously redirects between GitHub authorization and the Codecov login page, making it impossible to access the Codecov application.
Steps to reproduce
- Open https://app.codecov.io/login
- Select Log in with GitHub.
- Authorize Codecov on GitHub.
- Wait for the redirect back to Codecov.
- Observe that Codecov returns to the login page.
- Repeat indefinitely.
Environment
Additional information
The issue appears to be related to the GitHub OAuth/session callback, since GitHub authorization completes successfully but the authenticated session is not retained by Codecov.
Please investigate the OAuth callback/session handling and why the authenticated state is lost after returning from GitHub.
GitHub OAuth login enters an infinite redirect loop
Description
I’m unable to log in to Codecov using GitHub.
The authentication flow enters an infinite redirect loop:
There is no error message shown. The GitHub authorization appears to succeed, but Codecov does not keep the authenticated session and starts the login flow again.
Expected behavior
After successfully authorizing Codecov on GitHub, I should be redirected to Codecov and remain authenticated.
Actual behavior
The GitHub OAuth flow continuously redirects between GitHub authorization and the Codecov login page, making it impossible to access the Codecov application.
Steps to reproduce
Environment
Additional information
The issue appears to be related to the GitHub OAuth/session callback, since GitHub authorization completes successfully but the authenticated session is not retained by Codecov.
Please investigate the OAuth callback/session handling and why the authenticated state is lost after returning from GitHub.