In this video I demonstrate how to gate your Strapi content with a JWT authentication. The authentication is provided by the Strapi Users (Roles) & Permissions Plugin and allows you to implement login, registration, forgotten password and email confirmation workflows easily with simple HTTP requests to your Strapi CMS. The authentication is based on JWT (JSON Web Token). I will also demonstrate how to utilize the requests in a real view (application) using Next.js to create simple Login and Registration views.
Repository:
https://github.com/nikelaz/strapi-cms...
Contents:
0:00 Introduction
0:30 Users & Permissions Plugin Settings
7:00 Registration
9:40 Login
11:00 Using the Token
13:04 Registration View
18:22 Login View
20:27 Conclusion
Social Media:
Email: [email protected]
Twitter: / nikelaz
LinkedIn: / nikola-lazarov
#strapi #course #nodejs #headless #cms