Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update options.ts

Kiran Kaa2562011543
diff --git a/apps/web/lib/auth/options.ts b/apps/web/lib/auth/options.ts
index bc51b94af8..a41925cb6b 100644
--- a/apps/web/lib/auth/options.ts
+++ b/apps/web/lib/auth/options.ts
@@ -295,7 +295,13 @@ export const authOptions: NextAuthOptions = {
clientId: process.env.FRAMER_CLIENT_ID,
clientSecret: process.env.FRAMER_CLIENT_SECRET,
checks: ["state"],
- authorization: `${FRAMER_API_HOST}/auth/oauth/authorize`,
+ authorization: {
+ url: `${FRAMER_API_HOST}/auth/oauth/authorize`,
+ params: {
+ scope: "",
+ response_type: "code",
+ },
+ },
token: `${FRAMER_API_HOST}/auth/oauth/token`,
userinfo: `${FRAMER_API_HOST}/auth/oauth/profile`,
profile({ sub, email, name, picture }) {