Alternative to setCookieValue #500
Replies: 1 comment
-
|
Hi @Aniketsurya , the factory methods documented in how to use the library are probably the easiest way to initialize the library because they take only the minimum parameters and automatically hydrate the rest. Do you have a need to setCookieValue()? I can see somebody wanting to handle authentication outside the library for some reason. We did not account for that in the current library version because we assumed that the library would perform all the authentication and token operations internally. Please try the factory methods or look at the very last example, which does not use factory methods but sets authentication values directly in state and then calls getTokens(). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Previously I were on 0.18.8, now as a urgency I have to move up to directly to 3.0.1, where it doesn't have setCookieValue() then how to use or consume your api like exportJourney(), import journey().
Do I have to first use factoryhelper method which is in examples fornservice account to get token? Does it settoken then automatically in state?
Is there some documentation where we have can see the consumption of the apis exportJourney? Please help!
Beta Was this translation helpful? Give feedback.
All reactions