You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess what I'm trying to ask is, with the currently available auth flows, it seems impossible to authenticate and initialize a Spotify object without redirecting users to login to their own spotify account, which I don't want as everything I'll be doing will be reading data from "MY" own developer account and I don't need anything from user's account. even with the oauth, I still need to get credentials, and to do that, I'll need the access and refresh tokens which I can only get from user's redirect.
Please how can I programmatically authenticate a session with My own credentials behind the scenes without having user go through any authentication
The text was updated successfully, but these errors were encountered:
You should be able to use the "Client Credentials" flow and only use the ClientId and ClientSecret for your app. As you stated, you will not be able to access user related data, as explained here.
If you actually want to access data from your own user account, you will still need to do the OAuth flow. I wouldn't put these credentials in an app, that get's deployed to user devices, though, since a crafty user could extract your personal access- and refresh tokens and do something bad.
I guess what I'm trying to ask is, with the currently available auth flows, it seems impossible to authenticate and initialize a
Spotify
object without redirecting users to login to their own spotify account, which I don't want as everything I'll be doing will be reading data from "MY" own developer account and I don't need anything from user's account. even with the oauth, I still need to get credentials, and to do that, I'll need the access and refresh tokens which I can only get from user's redirect.Please how can I programmatically authenticate a session with My own credentials behind the scenes without having user go through any authentication
The text was updated successfully, but these errors were encountered: