Set the logout url on request only.
This commit is contained in:
parent
e41e74a9a5
commit
0063f602c9
|
@ -34,6 +34,7 @@ keycloak_auth_server: https://localhost
|
||||||
inception_project_server_auth_mode: 'database'
|
inception_project_server_auth_mode: 'database'
|
||||||
inception_project_server_preauth_header: 'remote_user'
|
inception_project_server_preauth_header: 'remote_user'
|
||||||
inception_project_server_preauth_default_roles: ''
|
inception_project_server_preauth_default_roles: ''
|
||||||
|
inception_project_server_set_preauth_logout_url: False
|
||||||
inception_project_server_preauth_logout_url: ""
|
inception_project_server_preauth_logout_url: ""
|
||||||
inception_project_server_preauth_users_roles: []
|
inception_project_server_preauth_users_roles: []
|
||||||
# - { username: 'user', roles: 'ROLE_PROJECT_CREATOR,ROLE_ADMIN' }
|
# - { username: 'user', roles: 'ROLE_PROJECT_CREATOR,ROLE_ADMIN' }
|
||||||
|
|
|
@ -4,7 +4,9 @@ warnings.unsupportedBrowser=false
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if inception_project_server_auth_mode == "preauth" %}
|
{% if inception_project_server_auth_mode == "preauth" %}
|
||||||
auth.preauth.header.principal={{ inception_project_server_preauth_header }}
|
auth.preauth.header.principal={{ inception_project_server_preauth_header }}
|
||||||
|
{% if inception_project_server_set_preauth_logout_url %}
|
||||||
auth.preauth.logoutUrl={{ inception_project_server_preauth_logout_url }}
|
auth.preauth.logoutUrl={{ inception_project_server_preauth_logout_url }}
|
||||||
|
{% endif %}
|
||||||
auth.preauth.newuser.roles={{ inception_project_server_preauth_default_roles }}
|
auth.preauth.newuser.roles={{ inception_project_server_preauth_default_roles }}
|
||||||
{% for user_role in inception_project_server_preauth_users_roles %}
|
{% for user_role in inception_project_server_preauth_users_roles %}
|
||||||
auth.user.{{ user_role.username }}.roles={{ user_role.roles }}
|
auth.user.{{ user_role.username }}.roles={{ user_role.roles }}
|
||||||
|
|
Loading…
Reference in New Issue