- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Premium
Country
Italy
Device
ESP32
Programming Languege:
Python
My Question or Issue
I'm working at a project where I need to login on a ESP32 with my Spotify account. Now I'm using "autorizzazione code flow" as show in the Spotify documentation: https://developer.spotify.com/documentation/web-api/tutorials/code-flow But, instead of open the link for the user authorization from the ESP32, I print it in serial port. After this, I start an access point with the ESP32 which is connected to the same LAN of my PC. Now I open the link on the PC and login. As redirect URI I set the ESP32 IP local address, so, after the login, the PC get redirect to the esp32 page, the esp32 get from the URL "code" and "state". After this I follow the flow shown in the documentation.
The question is: Is this the correct way to do it? If I want to create an Android application for login it's enough to send the link via Bluetooth instead of serial?
Solved! Go to Solution.
- Labels:
-
Question
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page