dieser-niko / spotipy-fastapi-oauth

This is a simple example for using Spotipy with FastAPI with multi-user support.
MIT License
0 stars 0 forks source link

Use headers instead of cookies for session ID #1

Open dieser-niko opened 1 month ago

dieser-niko commented 1 month ago

Since this example is mostly about using spotipy in a backend application, it doesn't make much sense to use cookies.

Instead it should use headers. Shouldn't be a big change, but a change nonetheless.

dieser-niko commented 1 month ago

Headers as parameters can be implemented by following this documentation: https://fastapi.tiangolo.com/tutorial/header-params/