Authentication problems with authorization server
-
I wanted to connect jsreport with our openid connect compatible idp software. But i get an error during the login process.
Error: Authentication with authorization server failed
(because) error while verifying user (group). Authentication cancelled. Reason: No jsreport user group "G-AAAAA-BBB-ABO,...,G-AAAA-BBB-jsreport-TEST,...,kt\Domänen-Benutzer" found linked to this authenticated session
at module.exports (D:\jsreportapp\jsreportapp-4.12.0\node_modules@jsreport\jsreport-core\lib\shared\createError.js:10:13)
at MainReporter.createError (D:\jsreportapp\jsreportapp-4.12.0\node_modules@jsreport\jsreport-core\lib\shared\reporter.js:53:12)
at D:\jsreportapp\jsreportapp-4.12.0\node_modules@jsreport\jsreport-authentication\lib\main.js:459:32
at strategy.error (D:\jsreportapp\jsreportapp-4.12.0\node_modules\passport\lib\middleware\authenticate.js:370:18)
at OpenIDConnectStrategy.verified (D:\jsreportapp\jsreportapp-4.12.0\node_modules\openid-client\lib\passport_strategy.js:15:10)
at D:\jsreportapp\jsreportapp-4.12.0\node_modules@jsreport\jsreport-authentication\lib\main.js:189:13
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)The list with groups is much longer. I deleted them from the error message.
Our idp is based on groups from the AD. So I created the group G-AAAA-BBB-jsreport-TEST in AD and added my user. I also added the group with the same name in jsreport.