I have been using OTRS for a few years and until Monday I was running debian 10 with OTRS 6.0.35.
As I saw that Oauth2 had been implemented in OTRS I made an update
First an upgrade from debian 10 to debian 11 then an upgrade from OTRS 6.0.35 to 6.0.37
But I have a problem when configuring oauth2 in OTRS 6.0.37
After entering the requested information, as soon as I validate I get this error message
Code: Select all
An Error Occurred
Failed to add OAuth2 token configuration with name Microsoft365.
Please contact the administrator.
Error Details
Backend ERROR: OTRS-CGI-38 Perl: 5.32.1 OS: linux Time: Thu Dec 8 11:30:49 2022
Message: Table 'otrs.oauth2_token_config' doesn't exist, SQL: 'INSERT INTO oauth2_token_config (name, config, valid_id, create_time, create_by, change_time, change_by) VALUES (?, ?, ?, '2022-12-08 11:30:49', ?, '2022-12-08 11:30:49', ?)'
RemoteAddress: 172.16.10.10
RequestURI: /otrs/index.pl
Traceback (922):
Module: Kernel::System::OAuth2TokenConfig::ConfigAdd Line: 389
Module: Kernel::Modules::AdminOAuth2TokenConfig::_SaveConfig Line: 341
Module: Kernel::Modules::AdminOAuth2TokenConfig::Run Line: 49
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1172
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 39
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
Thank you in advance
Best regards