Book Image

Implementing Multifactor Authentication

By : Marco Fanti
Book Image

Implementing Multifactor Authentication

By: Marco Fanti

Overview of this book

MFA has emerged as an essential defense strategy in the wide-ranging landscape of cybersecurity. This book is a comprehensive manual that assists you in picking, implementing, and resolving issues with various authentication products that support MFA. It will guide you to bolster application security without sacrificing the user experience. You'll start with the fundamentals of authentication and the significance of MFA to familiarize yourself with how MFA works and the various types of solutions currently available. As you progress through the chapters, you'll learn how to choose the proper MFA setup to provide the right combination of security and user experience. The book then takes you through methods hackers use to bypass MFA and measures to safeguard your applications. After familiarizing yourself with enabling and managing leading cloud and on-premise MFA solutions, you’ll see how MFA efficiently curbs cyber threats, aided by insights from industry best practices and lessons from real-world experiences. Finally, you’ll explore the significance of innovative advancements in this domain, including behavioral biometrics and passkeys. By the end of the book, you'll have the knowledge to secure your workforce and customers, empowering your organization to combat authentication fraud.
Table of Contents (20 chapters)
1
Part 1: Introduction
4
Part 2: Implementing Multifactor Authentication
12
Part 3: Proven Implementation Strategies and Deploying Cutting-Edge Technologies

Keycloak administration

Keycloak administration and configuration can be done using the Keycloak command-line tool or using the browser and the Keycloak administration console:

  1. To access the administration console, open the following URL on your browser, http://localhost:8081/, and click Administration Console:
Figure 9.9 – Keycloak welcome page

Figure 9.9 – Keycloak welcome page

  1. Enter the username and password for the administrator (admin/admin in this example):
Figure 9.10 – Keycloak console login page

Figure 9.10 – Keycloak console login page

After deploying Keycloak for the first time, it needs to be configured before it can be used. The first recommended configuration is to define a realm. A realm is a separate namespace where you configure users, applications, roles, and groups. A user belongs to and logs in to a specific realm. One Keycloak deployment can define multiple realms.

  1. After login, in the top-left corner, click the Master realm name and then...