oidc komga
This commit is contained in:
parent
d2932d7c32
commit
8dbcfd0433
@ -2,3 +2,11 @@
|
|||||||
# Konga
|
# Konga
|
||||||
ProxyPass /komga http://komga:25600/komga retry=0 keepalive=On
|
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
|
TZ=Europe/Paris
|
||||||
SERVER_SERVLET_CONTEXT_PATH=/komga
|
SERVER_SERVLET_CONTEXT_PATH=/komga
|
||||||
|
KOMGA_OAUTH2_ACCOUNT_CREATION=1
|
@ -6,7 +6,7 @@ spring:
|
|||||||
keycloak:
|
keycloak:
|
||||||
provider: keycloak # this must match the provider below
|
provider: keycloak # this must match the provider below
|
||||||
client-id: komga
|
client-id: komga
|
||||||
client-secret: XXJQwHX4YEQJpGez3nymBh6PgSby3fz9
|
client-secret: changeme
|
||||||
client-name: keycloak
|
client-name: keycloak
|
||||||
scope: openid,email
|
scope: openid,email
|
||||||
authorization-grant-type: authorization_code
|
authorization-grant-type: authorization_code
|
||||||
@ -27,3 +27,5 @@ spring:
|
|||||||
webclient:
|
webclient:
|
||||||
ssl:
|
ssl:
|
||||||
trust-all: true
|
trust-all: true
|
||||||
|
komga:
|
||||||
|
oauth2-account-creation: true
|
Loading…
Reference in New Issue
Block a user