Vibe Code (vcode.sh)
Vibe Code (vcode.sh)
Hey @iatomic1, let's debug this step by step. No, you don't need to call `signInWithTelegram` first - linking should work with any auth provider (Google, email, etc.). The session from...
@iatomic1 Good news - you found a real bug! ## The Problem You were right to clone the plugin and add console.logs. The issue is that `ctx.context.session` was `null` even...
@iatomic1 — late reply on the `createdAt` / `updatedAt` thing. Sorry about that. That's a Better Auth adapter quirk, not this plugin. Some adapters (looking at you, Prisma) require those...
Working on this — upgrading to better-auth 1.5 compatibility. The type mismatch is confirmed: error codes need to use the new `defineErrorCodes()` pattern from 1.5, and there may be other...
getting there! Claude is being helpful :)
Right. This is done. v1.2.0 is out. **The type mismatch** — fixed in v1.1.0 actually. `$ERROR_CODES` now uses `defineErrorCodes()` from `@better-auth/core/utils/error-codes`, so each error code is a proper `RawError` object...
@flxxxxddd Fixed in v1.3.0. Two bugs, one OIDC flow. **Bug 1: Silent `null` from `getUserInfo`** — `decodeJwt` was throwing on malformed tokens and nobody was catching it. Better Auth sees...
@flxxxxddd Right, so this is awkward — I've tested the full OIDC flow end-to-end with the v1.3.0 test playground and it completes without that error. Which means either we fixed...
@flxxxxddd OK well, that's annoying. If the test app reproduces it too, it's definitely our bug, not your setup. Fair enough. I've been auditing the full OIDC flow and I...
@flxxxxddd v1.3.2 is out. `npm install [email protected]` The `bot_id` fix is in. Telegram should now actually receive the parameter it's been silently expecting this whole time instead of the OAuth2-spec-compliant...