Understanding JWT implementation in Nile Auth
useSession
hook (client side), or by calling nile.auth.getSession
(server side).
You can learn more about sessions in the Sessions documentation - which includes information about working with
user sessions whether they are represented by JWTs or database sessions.
However, it is useful to understand how JWTs work and what they contain.