Setup SSO with Nginx reverse Proxy

Hello,

I have self hosted n8n on business plan deployed inside a windows VM, i have installed Nginx and using reverse proxy to point it out to n8n.

This way we are accessing n8n from our machines, whenever i created new user it give localhost in invite link and same is in case of setting up SSO, my redirect url is http://localhost:5678/rest/sso/saml/acs and entitiy ID is http://localhost:5678/rest/sso/saml/metadata . What changes do i have to make so that it is like https://mydomain.local/rest/ssp/saml/acs ?

Hey @Aqeel !

This env variables should be set as well for the n8n instance:

N8N_HOST=mydomain.local
N8N_PROTOCOL=https # if Nginx terminates SSL and you access via https://
N8N_EDITOR_BASE_URL=https://mydomain.local/
WEBHOOK_URL=https://mydomain.local/

Merry Christmas :santa_claus:!

1 Like

@Parintele_Damaskin it works, thanks

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.