course

JWT Authentication from Scratch

Building an API? Using Slim, we'll learn how to build clean, simple JWT authentication that you can fit into the framework of your choice.

Watch this course

1. Introduction

04:46

2. Fresh project, container, and database

07:43

3. Stubbing the authentication process

06:54

4. Fetching a user

02:29

5. Refactoring to an authentication provider

05:15

6. The authentication factory

09:54

7. Building JWT claims

04:50

8. Refactoring claims with a factory

06:25

9. JWT issuer and expiry config

05:03

10. Encoding the JWT payload

06:34
  • 1 hour 24 mins
  • Released 5 months ago