Infisical / infisical

♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure, prevent secret leaks, and manage internal PKI
https://infisical.com
Other
14.94k stars 840 forks source link

Getting bad gateway when trying to login through GitHub #893

Open amanasterdio opened 1 year ago

amanasterdio commented 1 year ago

Describe the bug

I am using infisical self-hosted version inside a docker container which is being proxied through nginx The application is being hosted under Cloudflare Network so its IP is also masked with the CloudFlare IP

I have created a 0auth client and secret into the environment variables for the docker container Also enabled the Login with Github option on the /personal-settings page

This error is being shown

Expected behavior

The user should be able to login or sign up with their github account

Screenshots

image

Platform you are having the issue on:

Docker Brave Ubuntu 22.04

akhilmhdh commented 1 year ago

Hey @amanasterdio

As your using self hosted and from the setup of yours most probably this seems to be a networking issue from your side. More precisely you need to adjust your cloudflare network configuration or consider that in github redirect.

amanasterdio commented 1 year ago

Some configurations were missing from it. Added all as per documentation now when I try to login through Github it just redirects back to login page.

justinkumpe commented 12 months ago

Some configurations were missing from it. Added all as per documentation now when I try to login through Github it just redirects back to login page.

I am having same issue, just redirects back to login. And if I try to setup secrets scanning integration it redirects to app.infisical.com.

amanasterdio commented 11 months ago

I am getting the same error that you are having ha ha, Might be a bug. There are also no any documentation regarding it

maidul98 commented 11 months ago

I think @dangtony98 can provide help on this