Skip to content

telegramId and telegramUsername not updating in DB after successful Telegram link #2

@iatomic1

Description

@iatomic1

Hey, I’m having an issue with the Telegram plugin.

After linking a Telegram account, the link process completes successfully, but the telegramId and telegramUsername fields aren’t being updated in the database.

Here’s my setup:

"better-auth": "^1.3.1",
"better-auth-telegram": "^0.3.1"

And my plugin configuration is pretty basic:

telegram({
botToken: process.env.TELEGRAM_BOT_TOKEN!,
botUsername: "username",
});

The Telegram linking flow works fine (the success message shows up), but the user record in the DB stays unchanged.
Is there something I’m missing in the configuration, or should this update happen manually?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions