Next.js from Development to Deployment - Store JWT in Server HttpOnly Cookie

Next.js from Development to Deployment - Store JWT in Server HttpOnly Cookie

Assessment

Interactive Video

Information Technology (IT), Architecture, Other

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial covers setting up a login system using JavaScript and an API folder. It explains how to handle user authentication by making a POST request to Strapi and setting cookies on the server side using the Cookie package. The tutorial also details configuring cookie options such as HTTP only, secure, max age, and same site. Finally, it demonstrates testing the cookie setup and accessing it server-side for authorization purposes.

Read more

1 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What new insight or understanding did you gain from this video?

Evaluate responses using AI:

OFF