oidc komga
This commit is contained in:
parent
d2932d7c32
commit
8dbcfd0433
@ -1,4 +1,12 @@
|
||||
|
||||
# Konga
|
||||
ProxyPass /komga http://komga:25600/komga retry=0 keepalive=On
|
||||
ProxyPassReverse /komga http://komga:25600/komga retry=0
|
||||
ProxyPassReverse /komga http://komga:25600/komga retry=0
|
||||
|
||||
<LocationMatch "^/komga/login$">
|
||||
Redirect 302 /komga/oauth2/authorization/keycloak
|
||||
</LocationMatch>
|
||||
|
||||
<LocationMatch "^/komga/login?redirect=%2Fdashboard$">
|
||||
Redirect 302 /komga/oauth2/authorization/keycloak
|
||||
</LocationMatch>
|
1
services/50-komga/env/.env
vendored
1
services/50-komga/env/.env
vendored
@ -3,3 +3,4 @@
|
||||
|
||||
TZ=Europe/Paris
|
||||
SERVER_SERVLET_CONTEXT_PATH=/komga
|
||||
KOMGA_OAUTH2_ACCOUNT_CREATION=1
|
@ -6,7 +6,7 @@ spring:
|
||||
keycloak:
|
||||
provider: keycloak # this must match the provider below
|
||||
client-id: komga
|
||||
client-secret: XXJQwHX4YEQJpGez3nymBh6PgSby3fz9
|
||||
client-secret: changeme
|
||||
client-name: keycloak
|
||||
scope: openid,email
|
||||
authorization-grant-type: authorization_code
|
||||
@ -26,4 +26,6 @@ spring:
|
||||
enabled: false
|
||||
webclient:
|
||||
ssl:
|
||||
trust-all: true
|
||||
trust-all: true
|
||||
komga:
|
||||
oauth2-account-creation: true
|
Loading…
Reference in New Issue
Block a user