cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Swagger not working with oauth2 Commerce 2005

1,315

Hi,

We are having a weird issue. Swagger is working for all the calls for which authentication is not required. But while trying to authroize the requests, we are getting this error. In the debugger console, we could see error ERR_NAME_NOT RESOLVED(https://%7Boauth2_url%7D/authorizationserver/oauth/token). As you see, swagger is not able to recognize the property {oauth2_url} .

In the custom webservices extension, we have this property defined. It was created as part of extension and we didnt add this manually.

samplewebservices.oauth2.tokenUrl=https://{oauth2_url}/authorizationserver/oauth/token

Please let me know if anybody else is facing this issue

Accepted Solutions (0)

Answers (0)