Replies: 1 comment
|
It should happen automatically at runtime. That's why you pass in client_id and client_secret as shown here: https://ytmusicapi.readthedocs.io/en/stable/setup/oauth.html That way the app can request a refresh token. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there a way to programmatically generate the oauth.json file for authenticated requests? I've read the instructions here and I have to interact with my terminal in order to run
ytmusicapi oauth. I intend to use this package in a production environment and having to come back at intervals to regenerate the file for authentication isn't feasible.All reactions