I have a web page which I want to make it only available to users after they log-in using their Spotify account. I am using Firebase for backend.
I haven't implemented any social authentication before, so an in-depth answer will be much appreciated.
There is a great exemple to implement Firebase auth with Instagram Oauth. It will be exactly the same for Spotify.
Read it here : Authenticate your Firebase users with Instagram
edit: And now there is also a sample for auth with Spotify + Firebase functions