plugin:oauthkeycloak
Table of Contents
oAuthKeycloak Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" yes
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
This plugin implements the oAuth workflow needed to authenticate users with Keycloak.
Installation
External requirements: This plugin requires the oAuth Plugin 2021-12-19 or above.
Install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Configuration
You need to set the client ID, client secret and discovery URL of your Keycloak. Discovery URL is:
https://<keycloakserver>/auth/realms/<realm>/.well-known/openid-configuration
For newer keycloak versions, it is:
https://<keycloakserver>/realms/<realm>/.well-known/openid-configuration
Additionally you can set label and color of the login button if you want. The default label/color are 'Keycloak'/'#333333'
Change Log
- Merge pull request #9 from YoitoFes/fix8 (2024-05-06 11:19)
- Version upped (2024-05-06 11:17)
- fix warning Undefined array key "groups" (2024-05-06 11:15)
- Throw Error on failing file_get_contents($plugin->getConf('openidurl'… (2023-08-16 17:34)
- Version upped (2022-03-17 15:56)
- Make login button text configurable (2022-03-17 15:40)
- Version upped (2021-12-23 14:36)
- Make getEndpointUri instance method (2021-12-20 10:12)
plugin/oauthkeycloak.txt · Last modified: 2024-05-06 11:25 by forritz