All hallucination drills
securityFree sample
An assistant reviewed an auth design and approved storing profile data in the token:
"A JWT is an encrypted credential. The payload is sealed with your signing secret, so only a server holding the key can read the claims inside. Putting the user's email and role in the token is safe because clients see an opaque string, and decoding it requires the secret."