GitPedia
spotify

spotify/android-auth

Spotify authentication and authorization for Android. Part of the Spotify Android SDK.

16 Releases
Latest: 3mo ago
Spotify Android Auth lib 4.0.14.0.1Latest
antonholmbergantonholmberg·3mo ago·March 4, 2026
GitHub

📦 Version 4.0.1

  • Fix: Ensure auth progress is preserved across configuration changes, preventing cases where a headless activity remains open and blocks user input.
Spotify Android Auth lib 4.0.04.0.0
antonholmbergantonholmberg·4mo ago·February 24, 2026
GitHub

📋 Changes

  • Breaking Change: Added new `AuthorizationResponse.Type.CANCELLED` to differentiate user-initiated cancellations from technical errors.
  • User cancellations (browser closed, back button pressed) now return `Type.CANCELLED` with `RESULT_CANCELED`
  • Technical errors (malformed responses, missing data) return `Type.EMPTY` with `RESULT_OK`
  • OAuth errors (e.g., `access_denied`) continue to return `Type.ERROR` with `RESULT_OK`
  • Client applications should update their authorization result handling to account for the new `CANCELLED` type and `RESULT_CANCELED` result code.
Spotify Android Auth lib 3.1.03.1.0
antonholmbergantonholmberg·4mo ago·February 11, 2026
GitHub

Migrate to kotlin. _Should_ be no breaks except that some exceptions have gone from IllegalArgument to NullPointer

Spotify Android Auth lib 3.0.03.0.0
antonholmbergantonholmberg·6mo ago·December 10, 2025
GitHub

📋 Changes

  • Add mandatory redirect path pattern.
Spotify Android Auth lib 2.2.02.2.0
antonholmbergantonholmberg·9mo ago·September 11, 2025
GitHub

📋 Changes

  • Requesting token now uses PKCE when:
  • There is an installed Spotify app that supports PKCE.
  • When web fallback is used.
  • Propagate tracking parameters when opening the native login flow
  • Token requests may return a refresh token if PKCE was used.
Spotify Android Auth lib 2.1.12.1.1
veronikapetruskovaveronikapetruskova·2y ago·December 20, 2023
GitHub

📋 Changes

  • Introduced `RedirectUriReceiverActivity` for web based auth flow
  • Restructured web based flow, removed `LoginDialog` class
  • Made `AuthorizationClient` final
  • Bumped to Gradle 7.5, AGP 7.4.2
  • Bumped targetSdkVersion to 33
  • Bumped androidx.browser to 1.5.0 and test dependencies
Spotify Android Auth lib 2.1.02.1.0
veronikapetruskovaveronikapetruskova·2y ago·June 30, 2023
GitHub

📋 Changes

  • Introduced a new flavour store to generate a library called auth-store that default to the play store instead of `CustomTabsIntent`
  • Exposed method to check if the Spotify application is installed
Spotify Android Auth lib 2.0.22.0.2
veronikapetruskovaveronikapetruskova·4y ago·April 7, 2022
GitHub

📋 Changes

  • Fixed StackOverflowError at com.spotify.sdk.android.auth.browser.LoginDialog.onServiceDisconnected
  • Fixed NullPointerException when creating CustomTabsIntent in LoginDialog
  • Set LoginActivity launch mode to singleTask to avoid launching CustomTabs in a separate task
Spotify Android Auth lib 2.0.12.0.1
veronikapetruskovaveronikapetruskova·4y ago·March 14, 2022
GitHub

📋 Changes

  • Removed unused code related to WebView and updated documentation
Spotify Android Auth lib 2.0.02.0.0
veronikapetruskovaveronikapetruskova·4y ago·March 10, 2022
GitHub

📋 Changes

  • Replaced WebView usage with [Custom Tabs](https://developer.chrome.com/docs/android/custom-tabs/) since Google and Facebook Login no longer support WebViews for authenticating users.
  • Removed `AuthorizationClient#clearCookies` method from the API. Custom Tabs use the cookies from the browser.
  • Bumped targetSdkVersion to 31
Spotify Android Auth lib 1.2.61.2.6
veronikapetruskovaveronikapetruskova·4y ago·October 4, 2021
GitHub

Contains a fix for an issue related to package visibility changes in API 30 - https://github.com/spotify/android-sdk/issues/307

Spotify Android Auth lib 1.2.51.2.5
veronikapetruskovaveronikapetruskova·5y ago·May 27, 2021
GitHub

📋 Changes

  • Updated targetSdkVersion (API 30), buildTools and Gradle plugin
  • Removed unused jcenter repository
  • Conform to package visibility restrictions when targeting Android 11 (API 30)
Spotify Android Auth lib 1.2.31.2.3
mdelolmomdelolmo·6y ago·January 27, 2020
GitHub

📋 Changes

  • Stability fixes on webview based redirect
  • LoginActivity launchmode changed
Spotify Android Auth lib 1.2.21.2.2
mdelolmomdelolmo·6y ago·January 17, 2020
GitHub

📋 Changes

  • Remove custom-tabs handling due to issues
Spotify Android Auth lib 1.2.11.2.1
mdelolmomdelolmo·6y ago·January 16, 2020
GitHub

📋 Changes

  • Fixes an issue that produced a redirect error when the redirect uri contains CAPS.
Android Auth 1.01.0
erdtmanerdtman·9y ago·November 1, 2016
GitHub

Initial release of the Android Auth library. For history see [Android-SDK](https://github.com/spotify/android-sdk/releases)