Skip to content
Snippets Groups Projects
Commit 02209afc authored by Arie Peterson's avatar Arie Peterson
Browse files

Allow setting secret for scimserviceprovider app

parent 64a0d688
No related branches found
No related tags found
No related merge requests found
Pipeline #45504 failed with stages
in 7 minutes and 15 seconds
# Changelog
## Unreleased
* Allow setting SCIM token for use with the `scimserviceprovider` app.
## [0.15.20] - 2023-12-21
* Fix logic to decide source of nextcloud apps: pinned from upstream repo, or
......
......@@ -13,6 +13,8 @@ data:
setup-apps.sh: |
#!/bin/bash
set -o errexit
# This script gets executed by the Kubernetes Job `{{ .Release.Name }}-setup-apps`,
# which gets created by Helm after every chart install and upgrade.
#
......@@ -180,6 +182,10 @@ data:
run_as "php $occ db:add-missing-primary-keys --no-interaction"
run_as "php $occ db:convert-filecache-bigint --no-interaction"
{{- if .Values.scim.token }}
set -x
run_as "php $occ config:app:set scimserviceprovider jwt-secret --value {{ .Values.scim.token }}"
{{- end }}
#
# All values in config.json are applied by the nextcloud occ command
# config:import.
......
......@@ -93,3 +93,7 @@ rabbitmq:
# # clientSecret: YouReallyNeedToChangeThis
# logoutUrl: https://sso.stackspin.example.net/oauth2/sessions/logout
# loginButtonText: Log in with OIDC
scim:
url: "https://files.example.com/index.php/apps/scimserviceprovider/"
token: JWT token
......@@ -207,6 +207,10 @@ oidc:
logoutUrl: https://sso.stackspin.example.net/oauth2/sessions/logout
loginButtonText: Log in with OIDC
scim: {}
# url: ...
# token: ...
tests:
image:
# https://hub.docker.com/r/cypress/included/tags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment