Announcements

Help Wizard

Step 1

NEXT STEP

Clear access_token after user logged in with a different application account

Clear access_token after user logged in with a different application account

Hi there,

 

I’m using the Spotify Development mode to let the user authorize the Spotify Account inside my Application so that they can add the Spotify’s track, album.I have an issue related to access_token.

Please take a look at my issue below:
Issue: UserA had authorized Spotify in my Application, he logged out and logged in with a different Application account in the same browser. There is no popup modal to asked user to authorize the Spotify account although he logged in with a new application account.

Could someone help me to clear the access_token in case a new application account is logged in the same browser?

 

Thanks

Reply
1 Reply

Your third-party application should not and will never have access to the cookies stored by the browser. You must give the user an option within your app to logout and authorize with another account.

Suggested posts