Skip to content

Spotify token expiry #25

@chriship

Description

@chriship

I noticed that the Spotify token expires after 1 hour and the refresh token logic is not working properly.

I think it's because the access token is marked as const in player.js the following code fixes it for me:

const player = new Player({
    name: "Vue Spotify Web Player",
    getOAuthToken: (cb) => {
        cb(rootGetters["auth/getAccessToken"]);
    }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions