How to configure Keycloak Log Level

In this brief tutorial, we will explore how to configure the log level for a Keycloak distribution powered by Quarkus. We’ll walk through the process of applying this change persistently or as a startup option, providing administrators with flexibility in managing logging settings.

Read more

How to create a KeyCloak Provider

Keycloak offers a range of Service Provider Interfaces (SPIs) that enable specific functionalities within the server. By following this guide, you’ll understand how to code and install a custom Provider that you can add to your Keycloak installation.

Read more

How to dump HTTP requests in Keycloak?

Understanding the HTTP requests flow through your Keycloak server can be helpful for debugging purposes and analyzing user interactions. This article will teach you how you can dump incoming HTTP requests in Keycloak distribution powered by Quarkus.

Read more

Using SAML with Keycloak

In this tutorial, we’ll explore how to integrate SAML (Security Assertion Markup Language) with Keycloak. SAML 2.0 is a widely-used authentication protocol that exchanges XML documents between authentication servers and applications. In this article we will create a Keycloak SAML Client and then we will provision a WildFly Application Server which will be able to … Read more

How to run Keycloak with Docker

In this tutorial, we’ll walk you through the step-by-step process of running Keycloak with Docker, enabling you to streamline authentication and authorization for your applications. We will explore the integration of Keycloak within Docker containers, optimizing the process with Docker Compose for efficient deployment and management of authentication and authorization services.

Read more

How to use Keycloak REST API

The Keycloak REST API is a Web service Endpoint that allows you to manage Keycloak using a REST channel. It provides endpoints for creating, updating, and deleting Keycloak entities such as users, groups, clients, roles, and realms. You can use any programming language that supports HTTP requests to interact with the API.

Read more

How to add an Admin User in Keycloak

Creating an admin user in Keycloak is a mandatory step for automating administrative tasks and managing your Keycloak instance. This tutorial will guide you through the process of adding an admin user to Keycloak using the Web Console or environment variables. The default flow to add an Admin User Firstly, when you install a Keycloak … Read more

Keycloak: How to add a new User

Keycloak provides a powerful command-line interface (kcadm.sh) that allows you to interact with the Keycloak server and perform various administrative tasks. In this tutorial, we’ll guide you through the process of adding a new user to your Keycloak realm using the kcadm.sh script.

Read more

Securing WildFly Management Console with Keycloak

WildFly 29 introduces the ability to secure WildFly Management Console with KeyCloak OpenID Connect Clients. In this article we will go through the steps you need to configure WildFly elytron-oidc-client subsystem and the Keycloak Realm. By the end of it, you will learn how to secure your WildFly Management Console with Keycloak OpenID Connect.

Read more

How to configure Keycloak Hostname

This article describes how to configure the hostname for the Keycloak server. By default, the hostname is the value of the hostname option in the Keycloak configuration file. However, you can set a different hostname for the Keycloak server using the hostname-admin or hostname-admin-url options.

Read more