AbhishekA
Convex Community3y ago
19 replies
Abhishek

getUserIdentity() resulting none

So I am calling http action from a 3rd party service in my case LinkedIn and following there 3 steps legged oauth. But while calling
const identity = await ctx.auth.getUserIdentity();
    console.log(
      "Response Data--------XXXXXXXXXX----->",
      JSON.stringify(identity)
    );


Identity is returning null, how can I authenticate in this scenario?

Sharing my full code for more ref :
https://github.com/imaxisXD/AIvy-Post/blob/main/convex/oauth.ts
GitHub
Contribute to imaxisXD/AIvy-Post development by creating an account on GitHub.
AIvy-Post/convex/oauth.ts at main · imaxisXD/AIvy-Post
Was this page helpful?