You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
About the code shown here [0], do you need to be logged in first to execute it? (and use that function to log in with another account on another network).
if yes, this issue is about the clarity of this code, as you'll admit it is misleading, switchAccount would be preferable.
if no, please add the missing code to make that work, e.g. there is no localStorage write in your code, and i guess the token doesn't come like that :-)
Finally if it's outdated code that doesn't work anymore and shouldn't be here, please remove it as it make people spending long hours breaking their teeth on it [1]...
Hi,
About the code shown here [0], do you need to be logged in first to execute it? (and use that function to log in with another account on another network).
if yes, this issue is about the clarity of this code, as you'll admit it is misleading, switchAccount would be preferable.
if no, please add the missing code to make that work, e.g. there is no localStorage write in your code, and i guess the token doesn't come like that :-)
Finally if it's outdated code that doesn't work anymore and shouldn't be here, please remove it as it make people spending long hours breaking their teeth on it [1]...
[0] https://github.com/yammer/JS_SDK_Sample/blob/master/auth.html#L126
[1] http://stackoverflow.com/questions/30982917/how-to-persist-yammer-login-status-across-browser-sessions-using-js-sdk
The text was updated successfully, but these errors were encountered: