Search code examples
keycloakkeycloak-services

Where can I set Access-Type of client as "bearer-only" in the new keycloak admin console?


In older versions of keycloak, the Access-Type of a client can be set in Settings tab as follows

But in keycloak version 20.0.1, there is no Access type field in the client Settings tab as follows:

enter image description here

Where can I set Access-Type of the client with keycloak 20.0.1?


Solution

  • As one can read on the following groups.google.com keycloak threads:

    Stian Thorgersen Mar 3, 2021, 10:49:03 AM to Keycloak Dev

    The new admin console designs are dropping the "bearer-only" option for a client:

    https://marvelapp.com/prototype/908c3c3/screen/72041413

    This makes perfectly sense to me, as a "bearer-only" client is really only a client that doesn't leverage any of the OAuth flows.

    The option of explicitly setting the access-type of clients to bearer-only is not longer available on the new Keycloak Admin Console UI. Nonetheless, with the new UI one can still see clients that were previously (in older versions) created with access-type bearer-only. However, one cannot change their access-type.

    Even though the new UI does not have the option to explicitly set the access-type to bearer-only, one can still create an equivalent bearer-only client by unchecking all the Authentications flows, as follows:

    enter image description here