GuideIntermediate

Authentication & Authorization Guide

This guide teaches you how to implement complete authentication and authorization: password hashing, JWT tokens, OAuth2 flows, RBAC with roles and permissions, security headers, and FastAPI's native Security integration.

48
lessons
6
modules
English · Spanish
available in
Yes
certificate
Free
access
NIEVA

Outcomes

What you'll be able to do

  • Password Security: bcrypt, argon2, hashing vs encryption
  • JWT: Token generation, validation, refresh tokens, expiration
  • OAuth2: Password flow, authorization code flow, FastAPI Security
  • RBAC: Role-based access control, granular permissions
  • Security Headers: HSTS, CSP, X-Frame-Options
  • API Keys: Service-to-service authentication
  • Session Management: Stateful vs stateless, token invalidation

Before you start

What you need to bring

Requirements and materials

  • FastAPI Fundamentals and Advanced completed
  • PostgreSQL & SQLAlchemy Guide completed
  • A users table with its SQLAlchemy model

Content

The syllabus, module by module

Open any of them to see its lessons.

Where it fits

This guide is part of something bigger

It's studied inside these programs, with support and dates.

Common questions

What people usually ask

Start whenever you like

Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!