Error "No authentication provider found for id: null" when adding execution to an authentication flow via Admin REST API in Keycloak/

Solution In Progress - Updated -

Issue

When attempting to add a new execution to an authentication flow in Red Hat Single Sign-On (RH-SSO) or Red Hat Build of Keycloak using the Admin REST API endpoint POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/execution, the request fails with the following error:

"error": "No authentication provider found for id: null

This issue occurs when sending a JSON request body that incorrectly specifies the authentication provider. For example, using a payload with the key "authenticator":

 "authenticator": "example-authenticator"

The API documentation may be unclear, listing the required request body as AnyType, leading to confusion about the correct JSON structure.

Environment

  • Red Hat Build of Keycloak
    • 26.x

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