Skip to content
Snippets Groups Projects
Commit 0a146890 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

Merge branch 'astronauth' into 'master'

update https and loging_redirect_url settings

See merge request !281
parents b3d64482 d21450fa
No related branches found
No related tags found
1 merge request!281update https and loging_redirect_url settings
Pipeline #43900 passed
......@@ -216,7 +216,10 @@ SERVICES_LATE_WARNING_SECONDS = 1800
# astronauth settings
SITE_ID = 1
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
#ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
AUTHENTICATION_BACKENDS = [
# Needed to login by username in Django admin, regardless of `allauth`
......@@ -241,7 +244,7 @@ SOCIALACCOUNT_PROVIDERS = {
try:
LOGIN_REDIRECT_URL = os.environ['LOGIN_REDIRECT_URL']
except:
LOGIN_REDIRECT_URL = 'https://sdc.astron.nl:5554/atdb/'
LOGIN_REDIRECT_URL = '/atdb/'
logger.info("LOGIN_REDIRECT_URL:" + LOGIN_REDIRECT_URL)
logger.info("KEYCLOAK_URL:" + KEYCLOAK_URL)
......
......@@ -34,7 +34,7 @@
{% include 'taskdatabase/pagination.html' %}
</div>
</div>
<p class="footer"> Version 7 Februari 2023
<p class="footer"> Version 9 Februari 2023
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment