How do I extend convex auth with my custom auth provider?
So idea is to pass 3 things from frontend
and this is where I'm stuck at:
How do I finish this implementation?
Should I use
ConvexCredentials
or should I use something else?2 Replies
As the authorize method's signature suggests, you need to return
the
sessionId
is optional, if you don't return it a session will be created automatically.
If you return null
the signIn
will fail.
For example:
Thank you sir, just one correction for those who will see this: