Hi there, I’m the developer of an Alexa skill which utilises a third party API, which leverages Plex authentication for its users. I’d like to link my skill to the users Plex account so that I may authenticate with both Plex in the Alexa app and the third party API in my AWS backend.
I’m not understanding how to configure this in the account linking section of the skill as it asks for an authorisation URL and an access token URL and the documentation from Plex is sparse.
Has anyone attempted this, have any document they can point me to, or know the paths required?
I believe this is possible as Plex have their own skill which uses Plex authentication for account linking.
Many thanks.
Anyone?
I figured out how the PIN auth flow works from various sources. The lack of developer documentation is shocking, and no one seems to know anything.
For anyone coming across this here is a sample Python script to test the Plex PIN auth flow where the user provides a PIN code at plex.tv/link, which should be suitable for any backend, including Alexa, which can read out verbally the PIN required for you to enter.
Once you have obtained the auth token you can then authenticate with Plex to utilise their API, and also use this with other API’s that support Plex login via auth token.