Skip to content

Commit ba82cef

Browse files
committed
Setup: Add PHOTOPRISM_OIDC_PROMPT to compose & Helm examples photoprism#5698
Lists the new OIDC authorization prompt option alongside the other PHOTOPRISM_OIDC_ settings (in flag order) in the dev compose files and the Plus Helm chart values/questions. Empty default preserves current behavior.
1 parent 9d0aca6 commit ba82cef

5 files changed

Lines changed: 8 additions & 0 deletions

File tree

compose.intel.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ services:
6767
PHOTOPRISM_OIDC_URI: "https://keycloak.localssl.dev/realms/master"
6868
PHOTOPRISM_OIDC_CLIENT: "photoprism-develop"
6969
PHOTOPRISM_OIDC_SECRET: "9d8351a0-ca01-4556-9c37-85eb634869b9"
70+
PHOTOPRISM_OIDC_PROMPT: "" # authorization prompt: login, select_account, or consent (empty = seamless SSO)
7071
PHOTOPRISM_OIDC_PROVIDER: "Keycloak"
7172
PHOTOPRISM_OIDC_REGISTER: "true"
7273
PHOTOPRISM_OIDC_WEBDAV: "true"

compose.nvidia.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ services:
7070
PHOTOPRISM_OIDC_URI: "https://keycloak.localssl.dev/realms/master"
7171
PHOTOPRISM_OIDC_CLIENT: "photoprism-develop"
7272
PHOTOPRISM_OIDC_SECRET: "9d8351a0-ca01-4556-9c37-85eb634869b9"
73+
PHOTOPRISM_OIDC_PROMPT: "" # authorization prompt: login, select_account, or consent (empty = seamless SSO)
7374
PHOTOPRISM_OIDC_PROVIDER: "Keycloak"
7475
PHOTOPRISM_OIDC_REGISTER: "true"
7576
PHOTOPRISM_OIDC_WEBDAV: "true"

compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ services:
7474
PHOTOPRISM_OIDC_URI: "https://keycloak.localssl.dev/realms/master"
7575
PHOTOPRISM_OIDC_CLIENT: "photoprism-develop"
7676
PHOTOPRISM_OIDC_SECRET: "9d8351a0-ca01-4556-9c37-85eb634869b9"
77+
PHOTOPRISM_OIDC_PROMPT: "" # authorization prompt: login, select_account, or consent (empty = seamless SSO)
7778
PHOTOPRISM_OIDC_PROVIDER: "Keycloak"
7879
PHOTOPRISM_OIDC_REGISTER: "true"
7980
PHOTOPRISM_OIDC_WEBDAV: "true"

setup/charts/plus/questions.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ questions:
206206
description: "Space-delimited scopes requested from the provider."
207207
type: string
208208
default: "openid email profile"
209+
- variable: oidc.PHOTOPRISM_OIDC_PROMPT
210+
label: "OIDC Authorization Prompt"
211+
description: "Optional prompt forcing re-authentication or account selection: login, select_account, or consent."
212+
type: string
209213
- variable: oidc.PHOTOPRISM_OIDC_REGISTER
210214
label: "Auto Register Users"
211215
description: "Automatically create PhotoPrism accounts after successful OIDC login."

setup/charts/plus/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ oidc:
9494
PHOTOPRISM_OIDC_CLIENT: ""
9595
PHOTOPRISM_OIDC_SECRET: ""
9696
PHOTOPRISM_OIDC_SCOPES: "openid email profile"
97+
PHOTOPRISM_OIDC_PROMPT: ""
9798
PHOTOPRISM_OIDC_REGISTER: true
9899
PHOTOPRISM_OIDC_REDIRECT: false
99100
PHOTOPRISM_OIDC_USERNAME: "email"

0 commit comments

Comments
 (0)