Vaibhav Tripathi

Results 20 issues of Vaibhav Tripathi

## Summary Users expected `updateUserById({ email, email_confirm: false })` to require user confirmation before applying the email change. The admin API intentionally applies changes directly. ## Problem The documentation for...

## Summary Fixes a race condition where `SUBSCRIBED` status is emitted before PostgreSQL logical replication is ready, causing early database writes to miss `postgres_changes` events. ## Problem The Realtime subscription...

## Summary Makes `_notifyAllSubscribers` non-blocking by removing `await` on subscriber callbacks. This prevents deadlocks when callbacks perform async operations that require the auth lock. ## Problem When a subscriber callback...

## Summary Fixes signOut throwing AuthSessionMissingError and leaving stale session data in local storage when the session was already invalidated from another device. ## Problem When a user signs out...

## Summary Make `OAuthAuthorizationDetails` fields optional to support already-consented OAuth responses. ## Problem `getAuthorizationDetails` is typed to return `AuthOAuthAuthorizationDetailsResponse` with required fields (`authorization_id`, `client`, `user`, `scope`). However, when a user...

## Summary Adds a `dispose()` method to `GoTrueClient` to properly clean up the `BroadcastChannel` event listener and close the channel. ## Problem In `GoTrueClient`, a `BroadcastChannel` is created with an...

## Summary Exposes `status` and `statusCode` properties on the base `StorageError` class for TypeScript compatibility. ## Problem Storage operations return errors typed as `StorageError`, but `status` and `statusCode` properties only...

Adds a generic overload for `on()` with `postgres_changes` that accepts any event type, enabling reusable subscription helpers with union types like `'*' | 'INSERT' | 'UPDATE' | 'DELETE'`. Fixes "No...

realtime-js

## Summary Adds an optional `jwt` parameter to `mfa.getAuthenticatorAssuranceLevel()`, enabling it to work in server side environments like Edge Functions where no session is stored. ## Problem In Edge Functions,...

adds suppressedPaths option to skip implicit grant detection on specific paths. useful when using third party oauth (like facebook login) that returns tokens in the url, prevents supabase from intercepting...