0.4.5 • Published 1 year ago

axios-oauth v0.4.5

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago
export const authorizationUrl = 'https://accounts.spotify.com/authorize';
export const tokensUrl = 'https://accounts.spotify.com/api/token';
export const apiUrl = 'https://api.spotify.com/v1';

const oAuth = OAuth.create({
    id: 'my-api',
    urls: {
        api: 'https://api.example.com/v1',
        issueTokens: 'https://api.example.com/v1',
    },
    getHeaders,
    logCallback: (eventId: string, meta: LogMeta, data?: Json) => {},
    paths: {
        me: '/me',
    },
});