Skip to content
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

Merged

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    7a45614 View commit details
    Browse the repository at this point in the history
  2. core: Credentials.username is optional.

    Isn't required for token auth.
    kingosticks committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    4956da9 View commit details
    Browse the repository at this point in the history
  3. core: store auth data within session

    We might need this later if need to re-auth and original creds are
    no longer valid/available.
    kingosticks committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    eeec818 View commit details
    Browse the repository at this point in the history
  4. 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.
    kingosticks committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    ee7ba28 View commit details
    Browse the repository at this point in the history
  5. 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().
    kingosticks committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    60fae8f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe4d36b View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Updated token example

    kingosticks committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    65a2526 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    70e2e5f View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    2354d77 View commit details
    Browse the repository at this point in the history
  2. oauth: Return type

    kingosticks committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e5f4e68 View commit details
    Browse the repository at this point in the history
  3. oauth: provide example

    kingosticks committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    da0f6a1 View commit details
    Browse the repository at this point in the history
  4. fix formatting

    kingosticks committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e6843d9 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. bin: move oauth into main function

    Added --enable-oauth / -j option.
    Using --password / -p option will error and exit.
    kingosticks committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    0a1fe35 View commit details
    Browse the repository at this point in the history
  2. oauth: tidy up

    kingosticks committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    5093a88 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. 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.
    kingosticks committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    4a24bcd View commit details
    Browse the repository at this point in the history
  2. docs: updated changelog

    kingosticks committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    e2421ac View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    a391a87 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    f14208e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68eebc8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd1f618 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    4dc4157 View commit details
    Browse the repository at this point in the history