File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
templates/auth/better-auth/server/base/src/lib Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ export function getDefaultConfig() {
3939export const DEFAULT_CONFIG = getDefaultConfig ( ) ;
4040
4141export const dependencyVersionMap = {
42- "better-auth" : "^1.3.7 " ,
43- "@better-auth/expo" : "^1.3.7 " ,
42+ "better-auth" : "^1.3.9 " ,
43+ "@better-auth/expo" : "^1.3.9 " ,
4444
4545 "@clerk/nextjs" : "^6.31.5" ,
4646 "@clerk/clerk-react" : "^5.45.0" ,
Original file line number Diff line number Diff line change @@ -91,7 +91,12 @@ export const auth = betterAuth({
9191 {{ #if (eq database " mysql" )}} provider: "mysql",{{ /if }}
9292 schema: schema,
9393 }),
94- trustedOrigins: [env.CORS_ORIGIN],
94+ trustedOrigins: [
95+ env.CORS_ORIGIN,
96+ {{ #if (or (includes frontend " native-nativewind" ) (includes frontend " native-unistyles" ))}}
97+ "mybettertapp://", "exp://"
98+ {{ /if }}
99+ ],
95100 emailAndPassword: {
96101 enabled: true,
97102 },
You can’t perform that action at this time.
0 commit comments