Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
stackspin
nextcloud
Commits
0ae62f98
Verified
Commit
0ae62f98
authored
Nov 03, 2021
by
Maarten de Waard
👼
Browse files
add comment about single quotes, edit values-local.yaml.example
parent
30fd6bb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
values-local.yaml.example
View file @
0ae62f98
...
...
@@ -49,21 +49,31 @@ apps:
# sociallogin enables login via oAuth/Open-ID Connect
sociallogin:
# sociallogin.server_name is the FQDN of you oAuth server. The oAuth server needs to
# provide the endpoints `/userinfo`, `/oauth2/token` and `/oauth2/auth` and according
# to the oauth2 standard it needs to be accessible via https with valid certificates
server_name: sso.oas.example.net
# sociallogin.client_id is the client name nextcloud will use to communicate with the
# oAuth server
client_id: nextcloud
## sociallogin.client_secret is the password that nextcloud uses when communicating with
## the oauth server
# client_secret: "YouReallyNeedToChangeThis"
# sociallogin.groups_claim is the name of a claim that the nextcloud server can retrieve
# by querying the `/userinfo` enfpoint of the openID Connect server. For every value in
# the groups_claim a corresponding group with a `oas_` prefix will be created if they don't
# exist yet. The user will then be added to those groups.
# If the claim contains the value `admin` the user will be added granted admin privileges.
groups_claim: "openappstack_roles"
# Because of how we import these settings, single quotes (') are not allowed
# in any of the values below
custom_oidc:
name: oas
title: OpenAppStack
# The oAuth server needs to provide the endpoints `/userinfo`,
# `/oauth2/token` and `/oauth2/auth` and according to the oauth2 standard it
# needs to be accessible via https with valid certificates
authorizeUrl: sso.oas.example.net/oauth2/auth
tokenUrl: sso.oas.example.net/oauth2/token
userInfoUrl: sso.oas.example.net/userinfo
logoutUrl: ""
# The client name nextcloud will use to communicate with the oAuth server
clientId: nextcloud
# The password that nextcloud uses when communicating with the oauth server
# clientSecret: YouReallyNeedToChangeThis
scope: "openid profile email openappstack_roles"
# The name of a claim that the nextcloud server can retrieve by querying the
# userInfoUrl of the openID Connect server. For every value in the
# groups_claim a corresponding group with an `oas_` prefix will be created
# if they don't exist yet. The user will then be added to those groups. If
# the claim contains the value `admin` the user will be granted admin
# privileges.
groupsClaim: "openappstack_roles"
style: ""
defaultGroup: ""
groupMapping:
admin: admin
values.yaml
View file @
0ae62f98
...
...
@@ -175,6 +175,8 @@ rabbitmq:
erlangCookie
:
stub
sociallogin
:
# Because of how we import these settings, single quotes (') are not allowed
# in any of the values below
custom_oidc
:
name
:
oas
title
:
OpenAppStack
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment