HighQ Generate OAuth code Redirect URL is trimmed

Hi, I am trying to use a Power Automate flow url as the Redirect URL for the call to 

https://<instancename.highq.com>/<instancename>/authorize.action?response_type=code&client_id=1012&redirect_uri=http://www.highq.com/ 

As defined in documentation page https://developerportal.thomsonreuters.com/authentication/documents/api-access-mechanism-using-oauth2 

the redirect_url will have format similar to below
www.powerplatform.com/.../

SO the full path is https://<instancename.highq.com>/<instancename>/authorize.action?response_type=code&client_id=1012&redirect_uri=www.powerplatform.com/.../

HighQ returns the authorization code and append to the return_url, however it strip away the all the query parameters except the api-verision-1, so at the end the redirect_url becomes 
https://www.powerplatform.com/powerautomate/automations/direct/workflows/1234567890ABCDEFGHIJKLMNOPQRST/triggers/manual/paths/invoke/?api-version=1&code=1111111

The sp, sv and sig parameters got stripped away from the redirect_url.. 

Is there a way to prevent HighQ authorization endpoint from doing that? 

Parents
  • +1
    Thomson Reuters Thomson Reuters staff member

    Hello, 

    I wanted to check on a couple of things regarding the issue:

    1. Is the URL you're using for the redirect_uri is registered with the system?

    2. Can you please confirm if the query parameters (api-version, sp, sv, sig) are also registered or configured?

    Thanks.

  • does the url need to be registered somewhere? I typically just use http://localhost when I need to get the authorization code manually. 

    Where do I need to register this url??

  • Reply
    • does the url need to be registered somewhere? I typically just use http://localhost when I need to get the authorization code manually. 

      Where do I need to register this url??

    Children
    No Data