Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions configure-user-oidc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ configure_user_oidc() {
--clientid="${ENC_OIDC_CLIENT_ID}" \
--clientsecret="${ENC_OIDC_SECRET}" \
--discoveryuri="${ENC_OIDC_DISCOVERY_URI}" \
--extra-claims="${ENC_OIDC_EXTRA_CLAIMS}" \
--endsessionendpointuri="${HDN_OIDC_ENDSESSIONENDPOINT_URI}" \
--unique-uid=0 \
--scope="${ENC_OIDC_SCOPES}"
Expand Down Expand Up @@ -59,6 +60,10 @@ main() {
fail "ENC_OIDC_DISCOVERY_URI not set"
fi

if [ -z "${ENC_OIDC_EXTRA_CLAIMS}" ]; then
fail "ENC_OIDC_EXTRA_CLAIMS not set"
fi

if [ -z "${HDN_OIDC_ENDSESSIONENDPOINT_URI}" ]; then
fail "HDN_OIDC_ENDSESSIONENDPOINT_URI not set"
fi
Expand Down