K2TSTS20002: An error occurred while processing an authorization response (invalid_redirect_uri)

  • 2 August 2022
  • 2 replies
  • 15 views

Hi Guys,

 

I'm trying to configure OAuth for K2 EWS as per https://help.nintex.com/en-US/k2five/userguide/current/default.htm#K2-Management-Site/Features/Exchange.htm

 

There is error for K2TSTS20002: An error occurred while processing an authorization response (invalid_redirect_uri) after i click on the Accept on the consent form as per attached. 

 

Any idea how to resolve it ? 

 

 

 


2 replies

Userlevel 2
Badge +7

I'm sorry, I haven't encountered such a problem and it's not exactly easy to give advice on how to get out of it. I've spent quite a few hours, maybe days, with OAuth myself and I still don't understand it well enough.
It might help to turn on Developer tools (F12) in your browser and try to record what happens when you do the wizard. Or maybe stop the windows service K2 Server and run K2 as a console application, where it lists everything happening as it runs.
And then try to find and decode the OAuth tokens or those responses in those logs, maybe that way you could figure out what's wrong there.
If you don't have time to play around with it yourself, then submit a ticket to support, I'm sure they can help you figure it out.


Good luck

Hi Pavel , thanks for the advice. It did help.  I'm following your way and manage to get it processed further till still no luck having new error on "Error adding relying parties" (see attached).  Do you have any idea how to get rid of this error ?

Reply