kevcube
kevcube
BABetter Auth
Created by kevcube on 4/17/2025 in #help
Unclear how to call phoneNumber signup from frontend
I'm using phone-number for sign-up, my authClient looks like ..
export const authClient = createAuthClient({
baseURL: "http://localhost:8081",
plugins: [
expoClient({
scheme: "app",
storagePrefix: "app",
storage: SecureStore,
}),
phoneNumberClient(),
],
});
export const authClient = createAuthClient({
baseURL: "http://localhost:8081",
plugins: [
expoClient({
scheme: "app",
storagePrefix: "app",
storage: SecureStore,
}),
phoneNumberClient(),
],
});
my auth backend is properly configured, but in my register page I'm unsure what to call, should it be -
await authClient.signUp.email({
phoneNumber: "+1234567890",
});
await authClient.signUp.email({
phoneNumber: "+1234567890",
});
There is no authClient.signUp.phoneNumber() function
10 replies