emesday / prefixed-superset

Adds context path (url prefix, sub path) of Apache Superset by NGINX reverse proxy and sub_filter.
MIT License
16 stars 6 forks source link

OAuth callback does not work #3

Open rajan123456 opened 1 year ago

rajan123456 commented 1 year ago

Hi,

Great effort with this. Very happy to see that you managed to implement /prefix. I was trying to adapt this for my use case but ran into an issue with OAuth login with TLS offloading on nginx.

On a successful login, the IdP redirects the user back to /oauth-authorized which breaks. I spent some time to try to create paths but it did not work. If you can add support for this, it would be amazing!

emesday commented 1 year ago

I also faced the problem several month ago. As I remember, I tried set redirect_uri in config to the proper value.

@rajan123456

santosh-sahoo334 commented 1 year ago

@emesday Can you share the complete config please ? Also, how do I enable this to run in Kubernetes, I am using helm chart - values.yml. Do I need to do similar thing in ingress section?