Sulek
Sulek
BABetter Auth
Created by Sulek on 3/13/2025 in #help
Issue with Google OAuth in Expo with Hono backend
No description
4 replies
BABetter Auth
Created by Sulek on 3/13/2025 in #help
Issue with Google OAuth in Expo with Hono backend
My auth client in Expo:
import { createAuthClient } from "better-auth/react";
import { expoClient } from "@better-auth/expo/client";
import * as SecureStore from "expo-secure-store";

export const authClient = createAuthClient({
baseURL: "http://192.168.1.250:3000",
plugins: [
expoClient({
scheme: "myscheme",
storagePrefix: "myscheme_auth",
storage: SecureStore,
}),
],
socialProviders: {
google: {
clientId: process.env.GOOGLE_CLIENT_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
},
},
});
import { createAuthClient } from "better-auth/react";
import { expoClient } from "@better-auth/expo/client";
import * as SecureStore from "expo-secure-store";

export const authClient = createAuthClient({
baseURL: "http://192.168.1.250:3000",
plugins: [
expoClient({
scheme: "myscheme",
storagePrefix: "myscheme_auth",
storage: SecureStore,
}),
],
socialProviders: {
google: {
clientId: process.env.GOOGLE_CLIENT_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
},
},
});
4 replies
BABetter Auth
Created by cercio on 12/29/2024 in #help
Expo session with google OAuth
No description
7 replies
BABetter Auth
Created by cercio on 12/29/2024 in #help
Expo session with google OAuth
Hey, any luck with this?
7 replies
BABetter Auth
Created by Sulek on 3/12/2025 in #help
Expo setup error
I fixed it by removing this line from metro.config.js: config.resolver.unstable_enablePackageExports = true;
4 replies