Step-by-step migration maps from legacy backend providers to Kroxt BaaS.
| Firebase SDK Concept | Kroxt SDK Equivalent | Notes |
|---|---|---|
| createUserWithEmailAndPassword | baas.auth.register(...) | Saves to custom project user table pool |
| signInWithEmailAndPassword | baas.auth.login(...) | Performs silent IP rate limit checks |
| onAuthStateChanged | baas.auth.me() | Resolves profile context directly |
// ❌ Firebase:
import { signInWithEmailAndPassword } from "firebase/auth";
await signInWithEmailAndPassword(auth, email, password);
// Kroxt BaaS:
import baas from "./kroxt";
const session = await baas.auth.login({ email, password });