hello.js
hello.js copied to clipboard
[QUESTION] Provide token from outside
Hey there,
I'd like to request if there is any possibility to provide hellojs with an existing token and then let it sync to a valid state.
Further explanation: I'm getting an id_token from some other parts of my web-app and try to update hellojs for this (Google) token. After this point, helloJS should behave like it normally does. The only difference is, that no login is called, but the token is somehow injected.
Thank you very much in advance!
This is not the best, but the in current version 1.x this is how the auth response is saved in the client...
hello.utils.store('facebook', {access_token:'abc...xyz', ...})