We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7829fa + e9563db commit 0f4b660Copy full SHA for 0f4b660
action.php
@@ -43,7 +43,11 @@ public function getUser()
43
$data['user'] = $result['preferred_username'];
44
$data['name'] = $result['name'];
45
$data['mail'] = $result['email'];
46
- $data['grps'] = $result['groups'];
+ if (array_key_exists('groups', $result)) {
47
+ $data['grps'] = $result['groups'];
48
+ } else {
49
+ $data['grps'] = [];
50
+ }
51
52
return $data;
53
}
plugin.info.txt
@@ -1,7 +1,7 @@
1
base oauthkeycloak
2
author Naoto Kobayashi
3
email naoto.kobayashi4c@gmail.com
4
-date 2022-03-17
+date 2024-05-06
5
name oAuth Keycloak Service
6
desc Keycloak Service for use with the oAuth Plugin
7
url http://www.dokuwiki.org/plugin:oauthkeycloak
0 commit comments