Better AuthBA
Better Auth3w ago
1 reply
Quark Hadron

Better Auth Social Sign On Line

https://www.better-auth.com/docs/authentication/line

I tried to implement login with Line. However, it requires verification for obtaining email address but for testing purpose, I don't need email address for now.

I tried

socialProviders: {
    line: {
      clientId: process.env.LINE_CHANNEL_ID ?? "",
      clientSecret: process.env.LINE_CHANNEL_SECRET ?? "",
      redirectURI: "http://localhost:3000/api/auth/callback/line", 
      scope: ["profile", "openid"],
      disableDefaultScope: true,
    },
  },


However, I still got email_not_found error
LINE provider setup and usage.
LINE | Better Auth
Was this page helpful?