Convex Auth getUserIdentity() returns object without email
I have 2 applications: a
nextjs
and a react native expo
app.
The nextjs app uses the new convex auth
lib for authentication while the expo
app uses clerk
.
I am observing that when auth.getUserIndentity()
is called from expo
(in other word called within a function called from expo), it returns a user object with all keys: user name, phoneNmber, emailVerified
...etc
But when I call it from nextjs
, it returns an object missing all above keys. Here is the returned object:
How can I use above object to identifier the user?0 Replies