Skip to content

Commit b7e7f6b

Browse files
committed
Add settings for CLI permissions and update trusted origins in auth configuration
- Introduced a new settings file for CLI permissions, allowing Bash commands via pnpm. - Updated the trusted origins in the auth configuration to include a new secure URL for cross-origin authentication.
1 parent f2a25b4 commit b7e7f6b

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.claude/settings.local.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(pnpm exec:*)"
5+
]
6+
}
7+
}

apps/server/src/auth.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ export const auth = betterAuth({
1212
database: drizzleAdapter(db, { provider: "pg" }),
1313
secret: env.BETTER_AUTH_SECRET,
1414
baseURL: env.BETTER_AUTH_URL,
15-
trustedOrigins: ["http://localhost:3000"],
15+
trustedOrigins: [
16+
"http://localhost:3000",
17+
"https://apollokit-admin.limitless-ai.workers.dev",
18+
],
1619
emailAndPassword: {
1720
enabled: true,
1821
},

0 commit comments

Comments
 (0)