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

Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera
API Security on Google Cloud's Apigee API Platform
Google Cloud via Coursera
Authentication and Authorization using Node.js
Microsoft via edX
Legacy - Node: De cero a experto
Udemy
Effective Oauth2 with Spring Security and Spring Boot
Pluralsight