Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mastering Authentication in Nodejs: JWT, SSO, Token based
Highest Rated
Rating: 4.9 out of 5(38 ratings)
203 students

Mastering Authentication in Nodejs: JWT, SSO, Token based

Build Secure Authentication Systems in NestJS with JWT, OAuth, and SSO
Last updated 5/2026
English

What you'll learn

  • Authentication & Authorization Fundamentals
  • Implementing Secure Authentication in Node.js
  • JWT-Based Authentication (Stateless)
  • Session-Based Authentication (Stateful)
  • Single Sign-On (SSO) with SAML & OpenID Connect
  • API Key Authentication & Microservices Security
  • OAuth2 & Social Login and Auth0 Okta

Course content

8 sections72 lectures7h 40m total length
  • Authentication All in One SSO SAML | OIDC | Token Based - Course Agenda4:59

    This course provides a complete, hands-on guide to mastering authentication systems in modern applications. Students will learn how to implement Single Sign-On (SSO) with SAML, secure authentication with OpenID Connect (OIDC), and scalable token-based authentication using JWTs. The course is designed to give developers a deep understanding of how different authentication standards work, how they are used in real-world systems, and how to integrate them securely into backend services built with frameworks like NestJS.

    Through a combination of lectures, real-world projects, and practical examples, students will gain the skills needed to build, troubleshoot, and deploy production-ready authentication solutions.
    Core principles of authentication and authorization

    1. How SAML-based SSO works and how to integrate it with enterprise identity providers

    2. How OpenID Connect extends OAuth 2.0 for modern identity management

    3. How to implement token-based authentication using JWTs (access and refresh tokens)

    4. The differences between SAML, OAuth, and OIDC, and when to use each

    5. Best practices for securing authentication flows and protecting sensitive data

    6. How to build a multi-strategy authentication system combining SAML, OIDC, and JWT

    7. How to integrate authentication with cloud identity providers like Okta, Azure AD, and Keycloak

    8. Common security vulnerabilities and how to defend against them

  • Type of different Authentication and Authorisation platforms3:55

    Authentication and authorization are critical parts of any modern web or enterprise application. Today, there are a variety of platforms available that specialize in managing user identity, access control, and security. These platforms simplify the implementation of complex authentication mechanisms such as Single Sign-On (SSO), social login, multi-factor authentication (MFA), role-based access control (RBAC), and more.


  • Different Authentication and Authorisation platforms3:34

Requirements

  • Basic understanding of JavaScript & TypeScript
  • Familiarity with Node.js and Express.js
  • Understanding of asynchronous programming & promises in JavaScript
  • Familiarity with databases (MongoDB, PostgreSQL, or MySQL)

Description

Authentication is a critical part of any modern web application, ensuring that users can securely access resources while preventing unauthorized access. This course provides a comprehensive guide to authentication in Node.js, covering essential and advanced authentication techniques used in real-world applications.

You will learn how to implement secure authentication systems using JWT (JSON Web Token), OAuth2, SSO (Single Sign-On), API keys, and session-based authentication. The course focuses on best security practices, including password hashing, token expiration management, multi-factor authentication (MFA), and role-based access control (RBAC).

By the end of this course, you will have the skills to build and deploy a production-ready authentication system in Node.js using popular authentication strategies.

Authentication Methods You Will Learn

  • Session-based authentication (stateful, using cookies and sessions)

  • JWT-based authentication (stateless, using access and refresh tokens)

  • OAuth2 & Social Login (Google, Facebook, GitHub, Okta)

  • Single Sign-On (SSO) with SAML & OpenID Connect

  • Two-Factor Authentication (2FA) for added security

  • API key authentication for secure service-to-service communication

  • Best practices for securing authentication endpoints

This course is designed to equip you with in-depth knowledge of authentication in NestJS, covering both fundamental concepts and advanced security techniques. By the end of the course, you will have the skills to build scalable, secure authentication systems for real-world applications.

By the end of the course, you will have built a complete authentication system that is scalable, secure, and production-ready.

Who this course is for:

  • Node.js & Backend Developers
  • Security-Focused Engineers
  • Full-Stack Developers
  • Students & Beginners in Authentication Concepts