Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is yam.platform.setAuthToken still working? #1

Open
npeltier opened this issue Jun 22, 2015 · 0 comments
Open

Is yam.platform.setAuthToken still working? #1

npeltier opened this issue Jun 22, 2015 · 0 comments

Comments

@npeltier
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant