The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Recommended Posts

Posted

I am attempting to implement a REST connection using a vendor's OAuth2 authentication method. When I configure Postman with the OAuth2 authentication and execute Get New Access Token,it works fine. I have also been able to return the token using SoapUI. However, when I re-create the authentication in DV with theexact same parameter valuesI return the following error:

 

OAuth flow failed: "No redirect URL found in response but response message style was configurated as

 

QUERY".

 

[oauthflow-3900206]

 

OAuth processors are ignored for data source

 

"/shared/********/WebServices".

 

Authorization Request Url:

 

https://************/connect/authorizescope=appframe-web-api&response_type=token&redirect_uri=https%3A%2F%2F*************&client_id=appframe-web-api

 

Authorization

 

Request Body: null

 

. [oauthflow-3900208]

 

"No redirect URL found in response but response message style was configurated as QUERY".

 

[oauthflow-3900206] [Log ID: f4d1a0ce-b3f5-4055-aa5c-3c45493643f2]

I have tried changing various settings with no change in the error message, suggesting that it's something fundamental.

Any advice is appreciated!

  • 4 weeks later...
Posted

I was finally able to get the OAuth2.0 authentication to work in DV using the default values provided from the vendor. It required the use of Processors with the following code:

 

 

document.getElementById('Username').value='*username*';

 

document.getElementById('Password').value='*password*';

 

document.getElementsByName('button')[0].click();

 

The key to getting it to work was the method behind the button used on the portal login form tomake the submission. I used the sitehttps://jsbin.com (pasting the HTML behind the vendor's portal login page into the HTML pane and testing the JavaScript above in the JavaScript pane) in conjunction with Fiddler to see exactly what was sent in the request and to be sure I was calling the submit button correctly.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...