Observing "Token expiration is too far in the future and iat claim not present in token" error while generating token using Signed JWT

Solution Verified - Updated -

Issue

  • After upgrading the RHBK operator to version 26.0.11, the previously functioning Signed JWT client authentication has stopped working. Following error is received in response from RHBK:

    {"error":"unauthorized_client","error_description":"Client authentication with client secret signed JWT failed: Token expiration is too far in the future and iat claim not present in token"}
    

Environment

  • Red Hat Build of Keycloak (RHBK)
    • 26.0.11+

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