Line provider: Support for multiple countries (server-side) #2181

Closed
opened 2026-03-13 09:32:21 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @JeongJuhyeon on GitHub (Oct 22, 2025).

Is this suited for github?

  • Yes, this is suited for github

Line is the most popular messenger and super-app in Japan, Thailand and Taiwan, but the current better-auth LINE provider only supports a single country.

Image

^ You need to create one channel per country, each will have its own client id and client secret. But betterAuth's Line config only supports a single clientId and clientSecret.

Describe the solution you'd like

Accepting an array of objects, or other schema through which we can accept multiple countries for applications that have many users in countries like Japan, Thailand and Taiwan

Describe alternatives you've considered

Forking the provider I guess..

Additional context

From a Western developer perspective this may sound like it's extremely niche but these are wealthy countries representing 200+ million people where it's effectively the most used app.

Originally created by @JeongJuhyeon on GitHub (Oct 22, 2025). ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. Line is the most popular messenger and super-app in Japan, Thailand and Taiwan, but the current `better-auth` LINE provider only supports a single country. <img width="608" height="107" alt="Image" src="https://github.com/user-attachments/assets/703de92e-e384-4643-82cb-1ae30429d2ac" /> ^ You need to create one channel per country, each will have its own client id and client secret. But betterAuth's Line config only supports a single clientId and clientSecret. ### Describe the solution you'd like Accepting an array of objects, or other schema through which we can accept multiple countries for applications that have many users in countries like Japan, Thailand and Taiwan ### Describe alternatives you've considered Forking the provider I guess.. ### Additional context From a Western developer perspective this may sound like it's extremely niche but these are wealthy countries representing 200+ million people where it's effectively the most used app.
GiteaMirror added the social-providerenhancement labels 2026-03-13 09:32:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2181