balazsorban44 / auth-poc-next

191 stars 62 forks source link

JWT token does not have the email details. #5

Open Joel-Dandin opened 2 months ago

Joel-Dandin commented 2 months ago

The JWT token generated does not have the email used to log in.

traez commented 1 month ago

To fix this, in page.tsx change the input Tag/Element to: <input type="email" name="email" placeholder="Email" /> The absence of the name property {name="email"} is the culprit.