mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
SAML Auth Guide: Fix indentation
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
80d8cc79f6
commit
ee83c85eb0
1 changed files with 15 additions and 10 deletions
|
@ -12,7 +12,8 @@ you want to match your IdP, you can use more configurations as below.
|
|||
- Change the value of `issuer`, `identifierFormat` to match your IdP.
|
||||
- `issuer`: A unique id to identify the application to the IdP, which is the base URL of your HedgeDoc as default
|
||||
|
||||
- `identifierFormat`: A format of unique id to identify the user of IdP, which is the format based on email address as default. It is recommend that you use as below.
|
||||
- `identifierFormat`: A format of unique id to identify the user of IdP, which is the format based on email address as
|
||||
default. It is recommend that you use as below.
|
||||
- urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress (default)
|
||||
- urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
|
||||
|
||||
|
@ -43,7 +44,8 @@ you want to match your IdP, you can use more configurations as below.
|
|||
- `attribute.username`: Attribute name of displaying user name on HedgeDoc
|
||||
|
||||
- `attribute.email`: Attribute name of email address, which will be also used for Gravatar
|
||||
- *Note:* Default value of all attributes is NameID of SAML response, which is email address if `identifierFormat` is default.
|
||||
- *Note:* Default value of all attributes is NameID of SAML response, which is email address if `identifierFormat`
|
||||
is default.
|
||||
|
||||
- `config.json`:
|
||||
```json
|
||||
|
@ -68,12 +70,15 @@ you want to match your IdP, you can use more configurations as below.
|
|||
CMD_SAML_ATTRIBUTE_EMAIL=mail
|
||||
```
|
||||
|
||||
- If you want to control permission by group membership, add group attribute name and required group (allowed) or external group (not allowed).
|
||||
- If you want to control permission by group membership, add group attribute name and required group (allowed) or
|
||||
external group (not allowed).
|
||||
- `groupAttribute`: An attribute name of group membership
|
||||
|
||||
- `requiredGroups`: Group names array for allowed access to HedgeDoc. Use vertical bar to separate for environment variables.
|
||||
- `requiredGroups`: Group names array for allowed access to HedgeDoc. Use vertical bar to separate for environment
|
||||
variables.
|
||||
|
||||
- `externalGroups`: Group names array for not allowed access to HedgeDoc. Use vertical bar to separate for environment variables.
|
||||
- `externalGroups`: Group names array for not allowed access to HedgeDoc. Use vertical bar to separate for environment
|
||||
variables.
|
||||
- *Note:* Evaluates `externalGroups` first
|
||||
|
||||
- `config.json`:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue