Auth Identity inside next js server actions

I am trying to access user identity inside a mutation by
getUserIdentity

When I am running it inside a server action I am getting it as null but whenever I am running it using
use mutation
hook that is from the client side no errors.
Is it dependent anyhow with the client side jwts? Cause no mentioning of such info on docs
Was this page helpful?