add komga

This commit is contained in:
2024-12-27 16:39:11 +01:00
parent b4a318ae28
commit 153e816ad6
7 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,29 @@
spring:
security:
oauth2:
client:
registration:
keycloak:
provider: keycloak # this must match the provider below
client-id: komga
client-secret: XXJQwHX4YEQJpGez3nymBh6PgSby3fz9
client-name: keycloak
scope: openid,email
authorization-grant-type: authorization_code
# the placeholders in {} will be replaced automatically, you don't need to change this line
redirect-uri: "{baseUrl}/{action}/oauth2/code/{registrationId}"
provider:
keycloak: # this must match the provider above
user-name-attribute: sub
# either set the issuer-uri, in which case the app will lookup the configuration for you automatically
issuer-uri: https://nine.local/auth/realms/nine
# or set all of the following
authorization-uri: https://nine.local/auth/realms/nine/protocol/openid-connect/auth
token-uri: https://nine.local/auth/realms/nine/protocol/openid-connect/token
jwk-set-uri: https://nine.local/auth/realms/nine/protocol/openid-connect/certs
user-info-uri: https://nine.local/auth/realms/nine/protocol/openid-connect/userinfo
ssl:
enabled: false
webclient:
ssl:
trust-all: true