All questions

Where do I call identify on login in the App Router, server or client?

Asked by jasper88 on

Jjasper88

I want logged-in users recognized so their profile carries across visits. What I cannot figure out is where identify belongs in the App Router, a server action or a client component.

While testing i kept getting an "Invalid user ID" error and i am not sure if thats a placement problem or teh value i am passing. Where do people wire this?

Was this helpful?

0 answers

Still have questions?