You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SDK v.0.36 with Firefox 60.3.0esr (64-bit), using the new IAM API Key authentication for Text to Speech, the synthesize method filters out the access_token parameter.
In SDK v.0.36 with Firefox 60.3.0esr (64-bit), using the new IAM API Key authentication for Text to Speech, the synthesize method filters out the access_token parameter.
The requested URI resource doesn't include this access token and the watson-token parameter is undefined, returning a CORS error.
Fix
https://github.com/watson-developer-cloud/speech-javascript-sdk/blob/master/dist/watson-speech.js#L12127
Add access_token to the QUERY_PARAMS_ALLOWED array.
There should also be a check that token parameter is defined, given it's either token or access_token.
Fix
The text was updated successfully, but these errors were encountered: