feat: add spotify oauth2 provider

This commit is contained in:
Alexander Staroselsky 2022-01-12 08:37:27 -07:00
parent f5e30969ef
commit 35662eb403

View File

@ -46,7 +46,9 @@ export interface SpotifyTokens {
scope: string; scope: string;
} }
type SpotifyOAuth2ProviderConfig = OAuth2ProviderConfig<SpotifyProfile, SpotifyTokens>; interface SpotifyOAuth2ProviderConfig extends OAuth2ProviderConfig<SpotifyProfile, SpotifyTokens> {
show_dialog: boolean;
}
const defaultConfig: Partial<SpotifyOAuth2ProviderConfig> = { const defaultConfig: Partial<SpotifyOAuth2ProviderConfig> = {
id: "spotify", id: "spotify",