Keycloak stores its data in an embedded H2 database by default, which is a lightweight and easy-to-use database that ships in the the Keycloak distribution. In this article, we will discuss how to access the Keycloak H2 database and perform common tasks such as deleting an user. By the end of this article, you will have a better understanding of how to manage the Keycloak H2 database.
Keycloak
How to create a custom Keycloak Theme
Keycloak themes are a powerful way to customize the appearance and behavior of a Keycloak installation. In this article we will learn how to create a custom Keycloak theme with a baisc CSS knowledge.
How to enable Two-factor authentication in Keycloak
In this article, we will explain how to enable Two Phase Authentication (2FA) with Keycloak. We will learn how to include the 2FA in the standard authentication flow and how to enforce it for a single user.
Installing Keycloak Client adapters on WildFly
This article covers how to install Keycloak Client Adapters on WildFly so that you can let Keycloak manage the whole authentication/authorization of your applications running on WildFly. Please note: If you are running WildFly 25 or above, you can secure your applications with Keycloak using Elytron OpenID Connect which is available out of the box. … Read more
Configuring Keycloak Database
This tutorial will show you three different ways to configure a different database for your Keycloak Identity Provider. Let’s check it out! Configuring a local Keycloak Database So the first way to configure a Keycloak Identity Provider with a Database is by adding a Datasource configuration specific for keycloak. This can be done by setting … Read more
Keycloak quickstart example using CLI
In this tutorial we will learn how to create a quickstart Java EE application secured with Keycloak using its command line interface (kcadm). The requirements to run this tutorial are: A Keycloak server A WildFly Application Server with Keycloak plugin installed You can check this tutorial for more details about the set up of Keycloak … Read more
Securing a MicroProfile application with Keycloak
In this tutorial we will learn how to secure a Microprofile application running with Thorntail runtime and Keycloak. Keycloak is an Identity and Access Management Server for Modern Applications and Services. In this tutorial we will learn how to delegate a bash Web application authentication (running on WildFly) to a KeyCloak server. First of … Read more