1

I'm implementing OAuth with the Spotify Web API. Im doing it following the Authorization Code flow.

If I try any utterances, it should pops it to login and then return it to my capsule. However, I can make the login, and when returning it to the capsule, it will not register the OAuth session and will be in a loop asking it to login again.

The following images will show some of my code:

enter image description here enter image description here

localplay.js enter image description here

As you can see, I'm just trying to return a boolean value which I will show it in the dialog, as a test.

What am I missing?

Thank you guys!

Community
  • 1
  • 1
Andre Aquiles
  • 394
  • 1
  • 17
  • Without knowing more about your code, I would point to a misspelling of "responseSucceeded" in your JS `return` as a good place to start debugging. – Ameya Jun 16 '20 at 17:10
  • Hello @Ameya the misspell matches the action and models counterparts. What else of my code would be helpful to add to this question? – Andre Aquiles Jun 16 '20 at 18:45

1 Answers1

1

client-secret-key is not supposed to be the value of the secret.

The client-secret-key is a name entered in the Config & Secrets screen of the Bixby Developer Center for the capsule.

Please check this documentation for more details: https://bixbydevelopers.com/dev/docs/reference/type/authorization.global.oauth2-client-credentials.client-secret-key

dogethis
  • 519
  • 6
  • 15