-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Credentials with access token (oauth) #1309
Credentials with access token (oauth) #1309
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7a45614 - Browse repository at this point
Copy the full SHA 7a45614View commit details -
core: Credentials.username is optional.
Isn't required for token auth.
Configuration menu - View commit details
-
Copy full SHA for 4956da9 - Browse repository at this point
Copy the full SHA 4956da9View commit details -
core: store auth data within session
We might need this later if need to re-auth and original creds are no longer valid/available.
Configuration menu - View commit details
-
Copy full SHA for eeec818 - Browse repository at this point
Copy the full SHA eeec818View commit details -
oauth: obtain Spotify access token via OAuth2
Sometimes there is also a username field returned with the token, but not always. It's nice to have but not needed (since we'll get it when we auth our session) and trying to extract it requires lots of boilerplate from the oauth lib. Let's keep it simple.
Configuration menu - View commit details
-
Copy full SHA for ee7ba28 - Browse repository at this point
Copy the full SHA ee7ba28View commit details -
bin: New --token arg for using Spotify access token
Provide a token with sufficient scopes or empty string to obtain new token. When obtaining a new token, use --token-port argument to specify the redirect port. Specify 0 to manually enter the auth code (headless). Re-arranged setup function so have session_config earlier for use with get_access_token().
Configuration menu - View commit details
-
Copy full SHA for 60fae8f - Browse repository at this point
Copy the full SHA 60fae8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe4d36b - Browse repository at this point
Copy the full SHA fe4d36bView commit details
Commits on Aug 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 65a2526 - Browse repository at this point
Copy the full SHA 65a2526View commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 70e2e5f - Browse repository at this point
Copy the full SHA 70e2e5fView commit details
Commits on Aug 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2354d77 - Browse repository at this point
Copy the full SHA 2354d77View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5f4e68 - Browse repository at this point
Copy the full SHA e5f4e68View commit details -
Configuration menu - View commit details
-
Copy full SHA for da0f6a1 - Browse repository at this point
Copy the full SHA da0f6a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6843d9 - Browse repository at this point
Copy the full SHA e6843d9View commit details
Commits on Sep 4, 2024
-
bin: move oauth into main function
Added --enable-oauth / -j option. Using --password / -p option will error and exit.
Configuration menu - View commit details
-
Copy full SHA for 0a1fe35 - Browse repository at this point
Copy the full SHA 0a1fe35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5093a88 - Browse repository at this point
Copy the full SHA 5093a88View commit details
Commits on Sep 5, 2024
-
core: reconnect session if using token authentication
Token authenticated sessions cannot use keymaster. So reconnect using the reusable credentials we just obtained. Can perhaps remove this workaround once keymaster is replaced with login5.
Configuration menu - View commit details
-
Copy full SHA for 4a24bcd - Browse repository at this point
Copy the full SHA 4a24bcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2421ac - Browse repository at this point
Copy the full SHA e2421acView commit details
Commits on Sep 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a391a87 - Browse repository at this point
Copy the full SHA a391a87View commit details
Commits on Sep 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f14208e - Browse repository at this point
Copy the full SHA f14208eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68eebc8 - Browse repository at this point
Copy the full SHA 68eebc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1f618 - Browse repository at this point
Copy the full SHA fd1f618View commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4dc4157 - Browse repository at this point
Copy the full SHA 4dc4157View commit details