Skip to content
Snippets Groups Projects
Commit 39aa1ddd authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed in the proxy and Django settigns to let the Open ID connect redirects to work properly.

parent d9ecf80a
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,9 @@
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
# Required for the Open ID connect redirects to work properly
RequestHeader set X-Forwarded-Proto 'https' env=HTTPS
</VirtualHost>
</IfModule>
......
......@@ -263,8 +263,11 @@ if OIDC_RP_CLIENT_ID:
LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'
LOGIN_REDIRECT_URL_FAILURE = '/'
#OIDC_AUTHENTICATION_CALLBACK_URL = 'rosetta.local/oidc/callback/'
# Required for the Open ID connect redirects to work properly
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment