mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
ocp hack added
This commit is contained in:
parent
a68ecc079d
commit
2c792363bf
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ OAuth.registerService('oidc', 2, null, function (query) {
|
|||
|
||||
var userinfo = getUserInfo(accessToken);
|
||||
if (userinfo.ocs) userinfo = userinfo.ocs.data; // Nextcloud hack
|
||||
if (userinfo.metadata) userinfo = userinfo.metadata // Openshift hack
|
||||
if (debug) console.log('XXX: userinfo:', userinfo);
|
||||
|
||||
var serviceData = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue