From 0b6393bc82f0cacd3c227ef1d4fdc20d7e56f965 Mon Sep 17 00:00:00 2001 From: guFalcon Date: Fri, 12 Jul 2024 10:00:34 +0200 Subject: [PATCH] update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8f49656..f975c00 100644 --- a/README.md +++ b/README.md @@ -324,11 +324,11 @@ Then you can run the REST-examples in the `http` directory. In order for this setup to work correctly, you'll have to have a Keycloak-client (private with secret) and standard-authorization-flow enabled (should be enabled anyway). You need the following user-attributes of type `string` with mapper to the token. -| ATTRIBUTE-NAME | TYPE | DESCRIPTION | -| -------------- | ------ | ----------------------------------------------------------------------------------------------------- | -| config | string | Holds several preference-values like dark-mode or not or the preferred font, fontsize or line-height. | -| lastPage | string | Holds the last-visited page of the current user. | - +| ATTRIBUTE-NAME | TYPE | DESCRIPTION | +| ------------------------------------------------------------------------------------------------------------------ | ------ | ----------------------------------------------------------------------------------------------------- | +| Client -> Client Scopes -> ...-dedicated -> Add Mapper (User Attribute)
`config` | string | Holds several preference-values like dark-mode or not or the preferred font, fontsize or line-height. | +| Client -> Client Scopes -> ...-dedicated -> Add Mapper (User Attribute)
`lastVisitedUrl` | string | Holds the last-visited page of the current user. | +| Client -> Client Scopes -> ...-dedicated -> Add Mapper (User Attribute)
map the field `LDAP_ENTRY_DN` to `ldap` | string | Holds the users LDAP information (class, teacher, etc.). | ## MD-File Conversion This is done using [marked](https://www.npmjs.com/package/marked) which is installed on the web-server (via `package.json`). With the help of this you can link to any MD-file and show it in the context of your site.