Token Auth not automatically getting stored as a cookie
How is the login supposed to work? Because when I call loginUser, I get a response with a token but I don't get a cookie back.
1 Reply
Hello @Ian
After a successful
manifest.login()
function, the token is automatically attached to the headers of the requests until you manfinest.logout()
.
This means that you can simply:
However if you need the token for some reason (store in local storage for example) , since the SDK version 1.2.2
you can: