feat: sso logout url
This commit is contained in:
parent
e6d99ff449
commit
5bbe653775
|
@ -21,6 +21,7 @@ COMPOSE_FILE=compose.yml
|
||||||
# OAUTH_NAME
|
# OAUTH_NAME
|
||||||
# OAUTH_URL
|
# OAUTH_URL
|
||||||
# OAUTH_CLIENT_ID
|
# OAUTH_CLIENT_ID
|
||||||
|
# OAUTH_LOGOUT_URL
|
||||||
# SECRET_OAUTH_SECRET_VERSION=v1
|
# SECRET_OAUTH_SECRET_VERSION=v1
|
||||||
|
|
||||||
# E-MAIL
|
# E-MAIL
|
||||||
|
|
|
@ -7,6 +7,7 @@ services:
|
||||||
- OAUTH_NAME
|
- OAUTH_NAME
|
||||||
- OAUTH_URL
|
- OAUTH_URL
|
||||||
- OAUTH_CLIENT_ID
|
- OAUTH_CLIENT_ID
|
||||||
|
- OAUTH_LOGOUT_URL
|
||||||
- SECRET_OAUTH_SECRET_VERSION=V1
|
- SECRET_OAUTH_SECRET_VERSION=V1
|
||||||
secrets:
|
secrets:
|
||||||
- oauth_secret
|
- oauth_secret
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
image: vikunja/api:0.20.1
|
image: vikunja/api:0.20.2
|
||||||
environment:
|
environment:
|
||||||
- DOMAIN
|
- DOMAIN
|
||||||
- LOG_LEVEL
|
- LOG_LEVEL
|
||||||
|
@ -35,7 +35,7 @@ services:
|
||||||
start_period: 1m
|
start_period: 1m
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: vikunja/frontend:0.20.1
|
image: vikunja/frontend:0.20.3
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
deploy:
|
deploy:
|
||||||
|
|
|
@ -305,13 +305,16 @@ auth:
|
||||||
enabled: {{ env "OAUTH_ENABLED" }}
|
enabled: {{ env "OAUTH_ENABLED" }}
|
||||||
# The url to redirect clients to. Defaults to the configured frontend url. If you're using Vikunja with the official
|
# 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.
|
# frontend, you don't need to change this value.
|
||||||
# redirecturl: <frontend url>
|
redirecturl: https://{{ env "DOMAIN" }}/auth/openid/
|
||||||
# A list of enabled providers
|
# A list of enabled providers
|
||||||
providers:
|
providers:
|
||||||
# The name of the provider as it will appear in the frontend.
|
# The name of the provider as it will appear in the frontend.
|
||||||
- name: {{ env "OAUTH_NAME" }}
|
- name: {{ env "OAUTH_NAME" }}
|
||||||
# The auth url to send users to if they want to authenticate using OpenID Connect.
|
# The auth url to send users to if they want to authenticate using OpenID Connect.
|
||||||
authurl: {{ env "OAUTH_URL" }}
|
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.
|
# The client ID used to authenticate Vikunja at the OpenID Connect provider.
|
||||||
clientid: {{ env "OAUTH_CLIENT_ID" }}
|
clientid: {{ env "OAUTH_CLIENT_ID" }}
|
||||||
# The client secret used to authenticate Vikunja at the OpenID Connect provider.
|
# The client secret used to authenticate Vikunja at the OpenID Connect provider.
|
||||||
|
|
Loading…
Reference in New Issue