I am making iOS AVS client which can connect to a wireless headset.
There are 2 ways for login with Amazon :
- Authorize from a Companion app (https://developer.amazon.com/docs/alexa-voice-service/authorize-companion-app.html)
- Authorize from an AVS product (https://developer.amazon.com/docs/alexa-voice-service/authorize-on-product.html)
I have registered the headset as Alexa product (Alexa product as a device, not application), even though the headset is just an audio input/output device and the app is doing all the Alexa handling.
My question is: do I need to follow the 'Authorize from a companion app' approach for login with amazon, which means the app first need to get an authorisation code, then request for the access token?
Or can the app just follow the 'Authorize from an AVS product' approach, and get the access token directly?