oidc komga

This commit is contained in:
Arno 2024-12-28 11:13:07 +00:00
parent d2932d7c32
commit 8dbcfd0433
3 changed files with 14 additions and 3 deletions

View File

@ -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>

View File

@ -3,3 +3,4 @@
TZ=Europe/Paris
SERVER_SERVLET_CONTEXT_PATH=/komga
KOMGA_OAUTH2_ACCOUNT_CREATION=1

View File

@ -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