Setting a reverse proxy seems a good option. Can you share more details about the error you are getting after setting the reverse proxy? <LocationMatch "/sso"> RewriteEngine on ProxyPass "https://idpurl.com" ProxyPassReverse "https://idpurl.com"</LocationMatch>