YoVDO

Symfony RESTful API: Authentication with JWT (Course 4)

Offered By: SymfonyCasts

Tags

JSON Web Tokens Courses Symfony Courses

Course Description

Overview

After 3 tutorials, we've got a nice API, But we've been completely ignoring authentication. What about API tokens? Or properly handling errors? Thanks to some modern tools, this will be such a treat:

  • Understanding JSON web tokens (JWT)
  • Creating, signing & returning JWT's
  • Using Guard for a custom JWT authentication system
  • Sending tokens on the Authorization header
  • Proper API errors for invalid credentials and missing credentials
  • Choosing to split into 2 firewalls

Syllabus

  • Start Securing the App!
  • JSON Web Tokens (are awesome)
  • LexikJWTAuthenticationBundle
  • The "Fetch a Token" Endpoint Test
  • Create a Shiny JSON Web Token
  • Authenticate a Request with JWT
  • JWT Guard Authenticator (Part 1)
  • Registering the Authenticator (Part 2)
  • Lock down: Require Authentication Everywhere
  • The "Entry Point" & Multiple Firewalls
  • JSON Errors in your API
  • ResponseFactory: Centralize Error Responses
  • Graceful Errors for an Invalid JWT
  • JWT: Other Things to Think about

Taught by

Ryan Weaver and Leanna Pelham

Related Courses

Master en webs Full Stack: Angular, Node, Laravel, Symfony +
Udemy
Master en PHP, SQL, POO, MVC, Laravel, Symfony, WordPress +
Udemy
MVC Frameworks for Building PHP Web Applications
LinkedIn Learning
PHP Symfony FW ile Sıfırdan Gelişmiş Uygulama Geliştirme
Udemy
Learn PHP Symfony Hands-On Creating Real World Application
Udemy