feat: add auth

This commit is contained in:
Max Koon
2025-10-12 16:03:28 -04:00
parent 0446893a67
commit b4d13e6a9f
17 changed files with 657 additions and 281 deletions

16
app/auth.tsx Normal file
View File

@@ -0,0 +1,16 @@
import { Button, View } from "react-native";
import { authClient } from "@/lib/auth-client";
export default function Auth() {
const onLogin = () => {
authClient.signIn.oauth2({
providerId: "koon-family",
});
};
return (
<View>
<Button onPress={onLogin} title="Login with Koon Family" />
</View>
)
}