Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: linkedin auth

Marc Seitz27d3c702d49e
diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts
index 2298125b..02f9efbe 100644
--- a/pages/api/auth/[...nextauth].ts
+++ b/pages/api/auth/[...nextauth].ts
@@ -34,7 +34,7 @@ export const authOptions: NextAuthOptions = {
authorization: {
params: { scope: "openid profile email" },
},
- issuer: "https://www.linkedin.com",
+ issuer: "https://www.linkedin.com/oauth",
jwks_endpoint: "https://www.linkedin.com/oauth/openid/jwks",
profile(profile, tokens) {
const defaultImage =