SSO Login beind reverse proxy #9485
Replies: 2 comments 5 replies
-
Have you entered the |
Beta Was this translation helpful? Give feedback.
4 replies
-
You likely need to play around with your site access settings: https://docs.inventree.org/en/stable/start/config/#server-access In particular, the You may also need to adjust haproxy to send these headers through |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm struggling to get login behind a reverse proxy to work properly.
I am running InvenTree with Docker, v0.17.9, running on the hostname inventree2.example.com.
I also run haproxy in front of InvenTree, with inventree.example.com pointing to that.
I have
INVENTREE_SITE_URL=https://inventree.example.com
I've got SSO configured with Microsoft for Azure/Entra ID, and the redirect URL configured there as https://inventree.example.com/accounts/microsoft/login/callback/
However, for some reason InvenTree seems to be sending Microsoft the inventree2.example.com URL to redirect to - which is not what I want and breaks SSO. Is there a particular setting I should be using for this, or some way to make sure the hostname sent to the SSO provider is the right one?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions