Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Bug Report: GitHub OAuth login enters an infinite redirect loop

Closed
#980 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github

Research direction

Start by reproducing the flow at https://app.codecov.io/login in Microsoft Edge on Windows, then trace the GitHub OAuth callback and session handling described in the report. Investigate why the authenticated state is lost after GitHub redirects back; done means authorization returns the user to Codecov and keeps them logged in without another redirect.

Written by the indexing model from the issue text.

Description

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:

  1. Go to https://app.codecov.io/login
  2. Click Log in with GitHub.
  3. GitHub opens and asks me to authorize Codecov.
  4. I authorize Codecov successfully.
  5. I’m redirected back to Codecov.
  6. Codecov sends me back to the login page and asks me to authenticate with GitHub again.
  7. 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

  1. Open https://app.codecov.io/login
  2. Select Log in with GitHub.
  3. Authorize Codecov on GitHub.
  4. Wait for the redirect back to Codecov.
  5. Observe that Codecov returns to the login page.
  6. 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.

Dominant language
No language data
Stars
52
Forks
26
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codecov/feedback

All issues in codecov/feedback

Similar issues

More Security issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.