Deezer Javascript SDK getLoginStatus() returns previous session's information after logout -


in deezer inapp, call deezer javascript sdk dz.getloginstatus function during app initialization logged-in user information. noticed if user logs out deezer, access token correctly invalidated, when log in, app still gets previous session's (now invalid) authentication information (with fromcookie property set true) in getloginstatus callback. previous session's information if log in different user.

this problem causes app's deezer api requests fail due invalid access token. there can/should in app clear authentication cookie when user logs out?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -