i'm integrating the docusign api with my angular application, everything is working good, i created a proxy configuration in order to do the api calls, im using the demo url since i have a demo developer account. The problem is that when i run my program in local (using localhost) the authentication token is successfully returned by the oauth call but when i upload my program on an external domain the same call returns me an html with irrelevant information with status 200 OK. I tried to search this on google but i can't find nothing good. What should i do?
this is the error i get: ERROR qm error: {error: SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse () at XMLHtt…, text: "<!doctype html>??? <meta ch…b0a19788ec.js" defer="">??"}headers: DmlazyInit: ()=> {…}lazyUpdate: nullnormalizedNames: Map(0)?{}proto: Objectmessage: "Http failure during parsing for http://frontendly.it/oauth/token"name: "HttpErrorResponse"ok: falsestatus: 200statusText: "OK"url: "http://frontendly.it/oauth/token"proto: Bm
question from:https://stackoverflow.com/questions/65940601/docusign-returning-html-from-authentication-only-when-the-application-is-under-a