feat: sso logout url
This commit is contained in:
parent
e6d99ff449
commit
5bbe653775
|
@ -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
|
||||
|
|
|
@ -7,6 +7,7 @@ services:
|
|||
- OAUTH_NAME
|
||||
- OAUTH_URL
|
||||
- OAUTH_CLIENT_ID
|
||||
- OAUTH_LOGOUT_URL
|
||||
- SECRET_OAUTH_SECRET_VERSION=V1
|
||||
secrets:
|
||||
- oauth_secret
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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: <frontend url>
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue