-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Bug]: Google OAuth on a Helm deployment redirects to URL with :8080 as the port, where it shouldn't have a port at all #12201
Comments
I think I found a fix, you need to force the |
Hi @pquadri ,thanks for looking into it. |
I just used the default helm chart and didn't provide any configuration besides changing the ingress, but the issue apparently is the nginx configuration within the image (that is reset on every pod restart, I have to change it by hand). If you want to hop in a discord session or something I could show you |
@pquadri, can you share if you still see this problem? We've tried several times, but are unable to see this. If you see this problem, please feel free to start a conv. on Discord with you configuration to investigate. My username is same on Discord as here. Thanks! |
The issue disappeared when we changed ingress type. Not really sure how. |
I think this problem shows up when Appsmith is running with a Network Load Balancer (NLB). Since that operates at Layer-4, the same problem as in #14290 (comment) manifests here as well. The solution there should help here, but we need to first try to reproduce with an NLB. |
Is there an existing issue for this?
Description
When Appsmith is deployed on a Kubernetes cluster using Helm charts, and Google OAuth is configured, the redirect URL after authentication adds the
:8080
port and so fails to work.For example, if this Appsmith is accessible on
http://myappsmith.com
, then Google OAuth redirects tohttp://myappsmith.com:8080/...
, which would obviously fail. The URL actually works fine when the:8080
part is removed.Steps To Reproduce
Deploy Appsmith with Helm charts on a new cluster, with ingress enabled, configure Google OAuth using the Helm values, and try to login with Google. The redirect URL should have the
:8080
in it, when it shouldn't.Check if this issue is present with GitHub OAuth as well.
Public Sample App
No response
Version
Self Hosted
The text was updated successfully, but these errors were encountered: