OAuth 2.0

OAuth 2.0 is an authorization protocol that allows applications to request limited access to user resources without sharing passwords. It operates via access tokens, enabling secure delegation of permissions. OAuth 2.0 supports multiple grant types like Authorization Code Flow and Client Credentials Flow, making it ideal for web, mobile, and API security. Keycloak implements OAuth…

One-Time Password (OTP)

One-Time Password (OTP) is an authentication method that generates unique, temporary codes valid for a short period. Used primarily in Two-Factor Authentication (2FA), OTP enhances security by preventing credential reuse and replay attacks. It can be delivered via authenticator apps, SMS, or email and supports TOTP (time-based) and HOTP (counter-based) algorithms. Keycloak enables OTP customization,…

OpenID Connect (OIDC)

OpenID Connect (OIDC) is an authentication protocol built on OAuth 2.0, enabling identity verification and access to user information via JWT-based tokens. It supports Single Sign-On (SSO) and multiple authentication flows, including Authorization Code Flow and CIBA. Keycloak leverages OIDC for identity federation, session management, and role mapping, offering secure authentication for web and mobile…