What are there missing ?
Backend ERROR: OTRS-CGI-70 Perl: 5.32.1 OS: linux Time: Thu Jun 16 06:52:49 2022
Message: Error requesting token for token config ID 1 with authorization code 'xxxxxxx: invalid_client.
RemoteAddress: 192.168.111.143
RequestURI: /otrs/get-oauth2-token-by-authorization-code.pl?code=xxxxxxxx&state=TokenConfigID1&session_state=yyyyyyyy
Traceback (3520):
Module: Kernel::Output::HTML::Layout::Error Line: 1037
Module: Kernel::Output::HTML::Layout::ErrorScreen Line: 1018
Module: Kernel::Modules::AdminOAuth2TokenManagement::_RequestTokenByAuthorizationCode Line: 120
Module: Kernel::Modules::AdminOAuth2TokenManagement::Run Line: 53
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1144
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_get_2doauth2_2dtoken_2dby_2dauthorization_2dcode_2epl::handler Line: 52
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
oAuth - Error getting Token
Moderator: crythias
-
- Administrator
- Posts: 3242
- Joined: 18 Dec 2007, 12:23
- Znuny / OTRS Version: Znuny LTS and 4/5/6
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: oAuth - Error getting Token
Hi,
Please check if the system configuration HttpType is set to https. The callback URL is generated out of the existing settings like HttpType, FQDN, etc., and if they are not well maintained, this could be the result.
- Roy
Please check if the system configuration HttpType is set to https. The callback URL is generated out of the existing settings like HttpType, FQDN, etc., and if they are not well maintained, this could be the result.
- Roy
Znuny LTS and ((OTRS) Community Edition CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 3
- Joined: 16 Jun 2022, 08:12
- Znuny / OTRS Version: 6.3
- Real Name: Frelsens Hær IT
Re: oAuth - Error getting Token
Yes, HttpType is set to HTTPS