Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Securing Flask Apps with JWT Authentication

via CodeSignal

Overview

Boost your Flask skills with advanced session management techniques. Delve into protecting routes and utilizing JWT tokens in Flask, while leveraging Marshmallow for data validation and serialization. The course is designed to sharpen your advanced Flask skills by teaching you to authenticate users and secure endpoints.

Syllabus

  • Lesson 1: Creating a Basic Login Endpoint
    • Run the Login Endpoint
    • Complete the Login Responses
    • Fix the Login Endpoint Bug
    • Handling the Login Data
    • Implement a Signin Endpoint
  • Lesson 2: Generating JWT Tokens Upon Login
    • Run and Generate a JWT Token
    • Setting Up JWT Authentication
    • Fix the JWT Bug
    • Complete Your Flask JWT Login
  • Lesson 3: Securing an Endpoint with JWT
    • Secured Endpoint in Action
    • Implementing the JWT Required Decorator
    • Fix the JWT Protection Bug
    • Secure a New Flask Endpoint
  • Lesson 4: Setting Token Expiry and Refreshing Tokens
    • Understanding Token Expiry and Refreshing
    • Generate and Refresh Tokens
    • Fix the Token Required Bugs
    • Defining a Refresh Route
    • Token Expiry and Refresh Mastery

Reviews

Start your review of Securing Flask Apps with JWT Authentication

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.