SciCatProject/backend-v3

Can not login via OIDC if member of too may groups

Opened this issue · 0 comments

Summary

Use can not login via OIDC if member of too may groups

Error message

InternalOAuthError
500 Failed to fetch user profile
oauthError: [object Object]
toString: function() { var m = this.message; if (this.oauthError) { if (this.oauthError instanceof Error) { m += ' (' + this.oauthError + ')'; } else if (this.oauthError.statusCode && this.oauthError.data) { m += ' (status: ' + this.oauthError.statusCode + ' data: ' + this.oauthError.data + ')'; } } return m; }

InternalOAuthError: Failed to fetch user profile
at /home/node/app/node_modules/passport-openidconnect/lib/strategy.js:262:42
at passBackControl (/home/node/app/node_modules/oauth/lib/oauth2.js:132:9)
at IncomingMessage. (/home/node/app/node_modules/oauth/lib/oauth2.js:157:7)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)