ManifestM
Manifestβ€’7mo ago
Ian

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.

loginUser(email, password) {
    try {
        await manifest.login("users", email, password);
        return true;
    } catch (error) {
        console.error("Login error:", error);
        throw new Error("Invalid credentials");
    }
}
Was this page helpful?