Skip to content
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

Change Base URL Change for HTTPS from internal reverse proxy #5726

Open
fthobe opened this issue Nov 20, 2024 · 2 comments
Open

Change Base URL Change for HTTPS from internal reverse proxy #5726

fthobe opened this issue Nov 20, 2024 · 2 comments

Comments

@fthobe
Copy link

fthobe commented Nov 20, 2024

Pre-check

  • Do not use the issues tracker for help or support, try Stack Overflow.
    TRIED
  • For bugs, do a quick search and make sure the bug has not yet been reported
    TRIED

Current behavior

we are looking into Solidus to pull up an eCommerce for B2B services. Coming from python I somehow struggle with making SSL work:

  • we have a two level DMZ where the reverse proxy is handling SSL and connects to backend services via http
  • the VM for solidus is behind the reverse proxy
  • on login events I get the following error
Screenshot 2024-11-20 at 16 02 36

Now I know in theory what's to be done (make devise accept additional request headers), but we don't seem to be able to figure out how.

@fthobe
Copy link
Author

fthobe commented Dec 4, 2024

Hey @carlosantoniodasilva , I worked through ruby docs and devise docs, could you give me a hint on this one?

@nashby
Copy link
Collaborator

nashby commented Dec 4, 2024

Hey @fthobe. It's hard to tell about your setup from the description you provided. It looks like CSRF issue, so it's not really related to Devise, that's how Rails works. You might find something useful here #2734

Feel free to provide a sample app that reproduce this issue otherwise it's hard to see what's wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants