@ngriffin_uk/auth-provider-spotify
v4.0.0
Published
spotify authentication provider for @ngriffin_uk/auth-core
Readme
@ngriffin_uk/auth-provider-spotify
Spotify OAuth middleware for auth-core.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-spotifyimport { createSpotifyAuth } from "@ngriffin_uk/auth-provider-spotify";
const auth = baseAuth.use(
createSpotifyAuth({ clientId, clientSecret, redirectUri, stateStore, resolveIdentity })
);Persist refresh tokens in the consuming service when long-lived Spotify access is required.
