Define a preauth logout URL.
This commit is contained in:
parent
6c199348c1
commit
df3bf17534
|
@ -33,6 +33,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_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' }
|
||||||
# DB
|
# DB
|
||||||
|
@ -61,8 +62,6 @@ inception_project_settings:
|
||||||
- 'backup.keep.number={{ inception_project_backup_keep_number }}'
|
- 'backup.keep.number={{ inception_project_backup_keep_number }}'
|
||||||
- 'backup.keep.time={{ inception_project_backup_keep_time }}'
|
- 'backup.keep.time={{ inception_project_backup_keep_time }}'
|
||||||
- 'auth.mode={{ inception_project_server_auth_mode }}'
|
- 'auth.mode={{ inception_project_server_auth_mode }}'
|
||||||
- 'auth.preauth.header.principal={{ inception_project_server_preauth_header }}'
|
|
||||||
- 'auth.preauth.newuser.roles={{ inception_project_server_preauth_default_roles }}'
|
|
||||||
- 'warnings.embeddedDatabase=true'
|
- 'warnings.embeddedDatabase=true'
|
||||||
- 'versioning.enabled={{ inception_project_versioning_enabled }}'
|
- 'versioning.enabled={{ inception_project_versioning_enabled }}'
|
||||||
- 'websocket.enabled={{ inception_project_websockets_enabled }}'
|
- 'websocket.enabled={{ inception_project_websockets_enabled }}'
|
||||||
|
|
|
@ -2,9 +2,14 @@ warnings.unsupportedBrowser=false
|
||||||
{% for setting in inception_project_settings %}
|
{% for setting in inception_project_settings %}
|
||||||
{{ setting }}
|
{{ setting }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% if inception_project_server_auth_mode == "preauth" %}
|
||||||
|
auth.preauth.header.principal={{ inception_project_server_preauth_header }}
|
||||||
|
auth.preauth.logoutUrl={{ inception_project_server_preauth_logout_url }}
|
||||||
|
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 }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% if inception_project_disable_crsf %}
|
{% if inception_project_disable_crsf %}
|
||||||
wicket.core.csrf.enabled=false
|
wicket.core.csrf.enabled=false
|
||||||
wicket.core.csrf.no-origin-action=allow
|
wicket.core.csrf.no-origin-action=allow
|
||||||
|
|
Loading…
Reference in New Issue