OAuth2 Authentication Error

Hello All,

I wanted to check if any one has encountered this error while configuring a REST data source with OAuth2 authentication, It gives a certification error, I am able to get the Token when i call the API through postman.

------

OAuth flow failed: "sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification
path to requested target
OAuth processors are ignored for data source
"/users/composite/oshriva/OAUTH".
Get Access Token Request Url:
https://api-dev.franklintempleton.com/v1/oauth2/token
Get Access Token Request Header:
Content-Type : application/x-www-form-urlencoded
Get Access Token Request Body:
client_secret=XXXXX&grant_type=client_credentials&client_id=AOuJ8Y4uiABPlJNWZLqLgf5YBbavce1f
".
[oauthflow-3900208]
Cause: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification
path to requested target

com.compositesw.cdms.webapi.WebapiException: OAuth flow failed: "sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification
path to requested target
OAuth processors are ignored for data source
"/users/composite/oshriva/OAUTH".
Get Access Token Request Url:
https://api-dev.franklintempleton.com/v1/oauth2/token
Get Access Token Request Header:
Content-Type : application/x-www-form-urlencoded
Get Access Token Request Body:
client_secret=XXXXXXXXX&grant_type=client_credentials&client_id=AOuJ8Y4uiABPlJNWZLqLgf5YBbavce1f
".
[oauthflow-3900208]
Cause: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification
path to requested target
com.compositesw.common.security.authentication.oauth.OAuthFlowException: OAuth flow failed: "sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification
path to requested target
OAuth processors are ignored for data source
"/users/composite/oshriva/OAUTH".
Get Access Token Request Url:
https://api-dev.franklintempleton.com/v1/oauth2/token
Get Access Token Request Header:
Content-Type : application/x-www-form-urlencoded
Get Access Token Request Body:
client_secret=XXXXXXXX&grant_type=client_credentials&client_id=AOuJ8Y4uiABPlJNWZLqLgf5YBbavce1f
".

Version Information: Studio 7.0.3.00.00, Build ID Build: a939070-2015-12-16, Server 7.0.3.00.11

(1) Answer

Login