-
Notifications
You must be signed in to change notification settings - Fork 42
Login with Github always redirects back to the Login page #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am also seeing this issue. I've attached a video for reference. Screen.Recording.2024-06-30.at.11.29.01.PM.mov |
Same than this one with gitlab : #34 |
This fixed the issue for me: #42 |
Hello @bert0RM, I use MY_IP.nip.io for codecov and gitlab.local domains for my local setup. Thanks ! |
@tekkeitserktok The change works for the default docker compose setup. Im not sure how nip.io works but what did you set the cookies_domain to? and what host are you using for the self-hosted-frontend? |
@bert0RM , here is my config for the frontend part: ` I tried "localhost" and "nip.io" for the cookie_domain config but it didn't work |
Can you try |
Thanks for your efforts to fix the issue. I am testing the same flow using Docker Compose and ngrok but am still encountering the same issue. When I tried using an older version of codecov-api. This issue disappeared, but other issues arose. I have also tested your proposed solutions by setting cookie_domain, but it did not resolve the problem. any idea ? |
I tried, it didn't work :'( |
I have the same problem I've tried the latest-calver, latest-stable and 24.4.1 |
Also having this same issue with a self-hosted gitlab instance |
@bert0RM 's PR fixed my issue! Thanks! |
Hey! Edit: Here are the relevant configs:
|
@rahul-roy-glean @adiRandom and others using GitHub.com: |
Has a solution been found as yet. I'm having the same issue when I click login it redirects me to github where I authorize the app and then it redirect back to localhost:8000 and it just flashes as i @bert0RM screenshot. I'm see the same error
|
Hi @mrtnin I changed the callback url as you recommended from ghe to gh but now I'm seeing I get a internal server error. Did you experience this?
|
@isatfg ![]() ![]() Then you just need to make sure it's installed to your repo with the correct permissions. |
Thanks , @mrtnin can you please share your docker compose file and config/codecov.yml obviously you can redact sensitive information. I have no idea why this does not for me. |
@isatfg what do you see when you run |
@stickperson I have tried restarting the api but still get the same error message. Can you please share you docker-compose and config/codecove.yaml. Im not using github enterprise so my github app callback url is http://localhost:8080/login/gh not sure if this is correct or not.
|
@isatfg There's something in this log that sticks out. I don't know if it's relevant or not.
I'll contribute with my logs later, I'm unable at the moment. |
I have manage to login if I pin the version from latest-calver to 25.2.7 it seems like the migration is not running sucessfully on version latest-calver |
I'm trying out the self-hosted setup with Docker compose and trying to enable a login with GH.
I have setup the GH app as mentioned in the guide and trying to login with the same.
My docker compose looks like -
and my
codecov.yml
looks likeI haven't been able to perform a login with GH, in the worker logs i see something like -
Could someone please help here ?
The text was updated successfully, but these errors were encountered: