IBM Cloud Speech-to-Text SDK auth failures with bearer token
问题 I'm learning to use the Watson Speech JS SDK. In particular I like Transcribe from Microphone, with Alternatives. I'm generating my token with a Firebase Cloud Function. I'm using AngularJS, not JQuery. The first problem I'm running into is var stream = WatsonSpeech.SpeechToText.recognizeMicrophone(Object.assign(token, { objectMode: true, format: false, wordConfidence: true })); I got this error message: WatsonSpeechToText: missing required parameter: opts.token (Using $scope.token or token