diff --git a/.env.sample b/.env.sample index 7d9723e..39b3263 100644 --- a/.env.sample +++ b/.env.sample @@ -21,6 +21,7 @@ COMPOSE_FILE=compose.yml # OAUTH_NAME # OAUTH_URL # OAUTH_CLIENT_ID +# OAUTH_LOGOUT_URL # SECRET_OAUTH_SECRET_VERSION=v1 # E-MAIL diff --git a/compose.oauth.yml b/compose.oauth.yml index 79a2e08..9d85209 100644 --- a/compose.oauth.yml +++ b/compose.oauth.yml @@ -7,6 +7,7 @@ services: - OAUTH_NAME - OAUTH_URL - OAUTH_CLIENT_ID + - OAUTH_LOGOUT_URL - SECRET_OAUTH_SECRET_VERSION=V1 secrets: - oauth_secret diff --git a/compose.yml b/compose.yml index d28e43c..6bf8913 100644 --- a/compose.yml +++ b/compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: api: - image: vikunja/api:0.20.1 + image: vikunja/api:0.20.2 environment: - DOMAIN - LOG_LEVEL @@ -35,7 +35,7 @@ services: start_period: 1m app: - image: vikunja/frontend:0.20.1 + image: vikunja/frontend:0.20.3 networks: - proxy deploy: diff --git a/config.yml.tmpl b/config.yml.tmpl index 88fbbd8..f996ec6 100644 --- a/config.yml.tmpl +++ b/config.yml.tmpl @@ -305,13 +305,16 @@ auth: enabled: {{ env "OAUTH_ENABLED" }} # The url to redirect clients to. Defaults to the configured frontend url. If you're using Vikunja with the official # frontend, you don't need to change this value. - # redirecturl: + redirecturl: https://{{ env "DOMAIN" }}/auth/openid/ # A list of enabled providers providers: # The name of the provider as it will appear in the frontend. - name: {{ env "OAUTH_NAME" }} # The auth url to send users to if they want to authenticate using OpenID Connect. authurl: {{ env "OAUTH_URL" }} + # The oidc logouturl that users will be redirected to on logout. + # Leave empty or delete key, if you do not want to be redirected. + logouturl: {{ env "OAUTH_LOGOUT_URL" }} # The client ID used to authenticate Vikunja at the OpenID Connect provider. clientid: {{ env "OAUTH_CLIENT_ID" }} # The client secret used to authenticate Vikunja at the OpenID Connect provider.