• CodeWithBisky-Elearning
Follow us:

Add MFA to Keycloak + Angular in 10 Minutes! πŸ” | Full 2FA Setup with TOTP, Email & Passkeys

image

Description



Add MFA to Keycloak + Angular in 10 Minutes! πŸ” | Full 2FA Setup with TOTP, Email & Passkeys


πŸ” Secure Your Keycloak Login with MFA in Minutes!

In this full tutorial, we’ll show you how to add Multi-Factor Authentication (MFA) and Two-Factor Authentication (2FA) to Keycloak using the open-source Keycloak MFA Extension by CodeWithBisky β€” and integrate it in a real Angular application!


You’ll learn how to build a secure login flow with TOTP, Email OTP, and WebAuthn / Passkeys, all powered by Keycloak’s Direct Grant API β€” no third-party services or complex setups needed.


πŸ”§ What You’ll Learn


βœ… Install and configure Keycloak MFA Extension

βœ… Enable TOTP, Email, and Passkey authentication

βœ… Use Direct Grant API for MFA-enabled login

βœ… Build a complete Angular front-end for MFA (with full source code)

βœ… Secure your backend APIs with enterprise-grade access control


πŸ…°οΈ Angular Example Project


In this video, we implement a production-ready Angular app that:


Connects to Keycloak’s MFA-enabled realm


Handles username/password + MFA verification


Uses Angular services & interceptors to attach JWT tokens


Displays MFA challenge screens for TOTP, Email OTP, or Passkeys


πŸ“ Source Code (Angular + Keycloak MFA)

πŸ”— GitHub: https://github.com/codewithbisky/keycloak-multifactor-authentication-extension

🧩 Includes reusable Angular AuthService, AuthGuard, and MFA components


πŸ’‘ Perfect For


Developers & DevOps using Keycloak for authentication


Teams building Angular frontends or mobile apps with secure login


Anyone wanting open-source MFA without vendor lock-in


Security-conscious teams deploying passwordless authentication


🌐 Resources


πŸ”— Official Docs: https://keycloak-mfa.codewithbisky.com/


πŸ’» GitHub Repo: [Add repo link here]

πŸ“˜ Keycloak Docs: https://www.keycloak.org/documentation


🧰 Tools Used


🧱 Keycloak (Open Source IAM)


πŸ” Keycloak MFA Extension (CodeWithBisky)


βš™οΈ Angular 17 (Frontend Integration)


🐳 Docker (for local Keycloak setup)


πŸ“« Postman (API testing)


πŸ—οΈ Keywords for YouTube SEO


keycloak mfa, keycloak 2fa, keycloak angular, angular keycloak mfa, keycloak tutorial, angular authentication, keycloak totp, keycloak otp, keycloak webauthn, keycloak passkeys, passwordless login angular, open source mfa, keycloak direct grant, angular security, keycloak login angular, keycloak open source, codewithbisky keycloak, mfa for keycloak, secure angular login


🏷️ Suggested Hashtags


#Keycloak #Angular #MFA #2FA #OpenSource #WebAuthn #Passkeys #CyberSecurity #KeycloakTutorial #CodeWithBisky #DevOps #Authentication #Passwordless


πŸ”” Subscribe for More


If you’re serious about securing your apps with modern authentication β€” hit Subscribe, Like, and Comment below what you’d like to see next: Spring Boot, React, or Node.js integration!

Meet your instructor

image

Bisky Mursuid

Meet Marshall (Bisky): Senior Software Engineer in Java

With over 5 years of professional experience, I am Marshall, also known as Bisky, a seasoned Senior Software Engineer specialising in Java. My expertise spans a diverse spectrum, ranging from comprehensive System Analysis to intricate Software Development. My professional journey has been anchored in the dynamic and fast-paced landscape of the financial technology industry.
Why Choose My Courses?
I bring a demonstrated history of successfully navigating complex challenges through the art of programming. My passion lies in the relentless pursuit of simplifying intricate tasks through innovative coding solutions.Join me on a learning adventure where I share not just technical knowledge, but the practical insights gained from years of hands-on experience in the field.

What Sets Me Apart?

Extensive Experience: With more than half a decade dedicated to the software engineering domain, I've honed my skills through real-world applications and industry challenges.

Research-Driven Approach: I invest a significant amount of time in continuous research, staying at the forefront of advancements in technology. This commitment ensures that my courses reflect the latest trends and best practices.

Practical Problem-Solving: My focus extends beyond theoretical concepts. I am dedicated to empowering students with the ability to apply their knowledge to real-world scenarios, fostering a deeper understanding of the subject matter.

Embark on a learning journey with me and discover how to not just code, but to code effectively and elegantly. Let's demystify the complexities together!

  • Language: English
  • Length: 22min 19s
  • Category:

Video Details

Interested in this video?

Subscribe now