Sign Up
Go Pro Sign Up Login

Buy Now and unlock this series

$

49

.99

$

29

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Creating Sessions

In this video, we will create a session. The session will be the majority of the information that is sent along with our JWT.

Downloads

Become a pro to download code and videos

Comments

Jon

3 months ago

Probably should finish the video before adding a comment but... I found I had to move createSession import inside the logUserIn function as as await to avoid the error of trying to load before the connection to the database. Moving it inside I was able to create a user session in the db and get a SessionToken and that binary looking goodness.

Want to join the conversation?

Become a Pro member today!