Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guFalcon committed Jul 12, 2024
1 parent 9b00c9f commit 0b6393b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)<br>`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)<br>`lastVisitedUrl` | string | Holds the last-visited page of the current user. |
| Client -> Client Scopes -> ...-dedicated -> Add Mapper (User Attribute)<br>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.
Expand Down

0 comments on commit 0b6393b

Please sign in to comment.