Skip to content

[BUG] Fix supabase and X auth #98

@waleedlatif1

Description

@waleedlatif1

Issue Summary

The supabase and x auth don't work. The supabase one doesn't work because they don't provide an auth config. And the X one doesn't work because they don't provide the email in the userinfo request.

Actual Results

  • We create a new account instead of linking the auth to the existing account
  • Take a look at our Auth provider's docs at better-auth.com to see if we can figure it out. They also have a workaround for this that uses socialSignIn() with Twitter and uses the twitter username as the email, so we can experiment with doing something similar.

Expected Results

  • The expected result is that we create a new account in the 'account' table and the 'connect' tab shows 'connected' on the settings > credentials.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions