OTP verification is failing with expired_code error on RHBK

Solution Verified - Updated -

Issue

  • Users are unable to configure new OTPs during registration phase.
  • Users are unable to login with previously configured OTPs.
  • Server logs are showing the following entry:

    WARN  [org.keycloak.events] (executor-thread-21) type="CUSTOM_REQUIRED_ACTION_ERROR", realmId="***", clientId="***", userId="***", ipAddress="***", error="expired_code", code_id="***"
    

Environment

  • Red Hat build of Keycloak (RHBK)
    • 24

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content