Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A Testcontainer implementation for Keycloak IAM & SSO.
| Date | Stars |
|---|---|
| 2026-07-24 | 458 |
| 2026-07-25 | 458 |
| 2026-07-28 | 458 |
| 2026-07-30 | 458 |
| 2026-08-06 | 458 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
35.0
growth rate 0.00%/day
# Keycloak Testcontainer
Spin up a real [Keycloak](https://www.keycloak.org/) OAuth2/OIDC identity provider as a Docker container in your Java integration tests — no mocks, no manual setup.
Built on [Testcontainers](https://www.testcontainers.org/), it works with JUnit 5 and integrates seamlessly with Spring Boot, Quarkus, and any other Java framework.
**New here? → [Quick Start](docs/quickstart.md)**
[](https://github.com/dasniko/testcontainers-keycloak/releases)
[](https://central.sonatype.com/artifact/com.github.dasniko/testcontainers-keycloak)



[](https://www.keycloak.org)

[](https://github.com/dasniko/testcontainers-keycloak/stargazers)
[](https://github.com/dasniko/testcontainers-keycloak/actions/workflows/maven.yml)
## Setup
The release versions of this project are available at [Maven Central](https://central.sonatype.com/artifact/com.github.dasniko/testcontainers-keycloak).
**Maven:**
```xml
<dependency>
<groupId>com.github.dasniko</groupId>
<artifactId>testcontainers-keycloak</artifactId>
<version>VERSION</version>
<scope>test</scope>
</dependency>
```
**Gradle (Kotlin DSL):**
```kotlin
testImplementation("com.github.dasniko:testcontainers-keycloak:VERSION")
```
> [!TIP]
> There is also a `999.0.0-SNAPSHOT` version available, pointing to the `nightly` Docker image by default and using the `999.0.0-SNAPSHOT` Keycloak libraries as dependencies.
## Version Compatibility
> [!IMPORTANT]
> See [version overview](docs/versions.md) for an overview of which Keycloak release works with this library by default and which [Testcontainers](https://www.testcontainers.org/) version is used.
> This library is, like Keycloak, only developed in the forward direction — no LTS, no backports. Make sure to stay up to date.
## Contents
- [How to use](#how-to-use)
- [Default _(deprecated)_](#default-deprecated)
- [Custom image](#custom-image)
- [Initial admin user credentials](#initial-admin-user-credentials)
- [Realm Import](#realm-import)
- [Getting an admin client and other information](#getting-an-admin-client-and-other-information-from-the-testcontainer)
- [OIDC Endpoint URL Helpers](#oidc-endpoint-url-helpers)
- [Token Acquisition Helpers](#token-acquisition-helpers)
- [Context Path](#context-path)
- [Management Port](#management-port)
- [Memory Settings](#memory-settings)
- [TLS (SSL) Usage](#tls-ssl-usage)
- [Built-in TLS Keystore](#built-in-tls-keystore)
- [Custom TLS Cert and Key](#custom-tls-cert-and-key)
- [Custom TLS Keystore](#custom-tls-keystore)
- [Keycloak Feature Flags](#keycloak-feature-flags)
- [Custom CLI Config arguments](#custom-cli-config-arguments)
- [Starting in production mode](#starting-in-production-mode)
- [Optimized flag](#optimized-flag)
- [Testing Custom Extensions](#testing-custom-extensions)
- [Dependencies & 3rd-party Libraries](#dependencies--3rd-party-libraries)
- [Extending KeycloakContainer](#extending-keycloakcontainer)
- [Remote Debugger Support](#remote-debugger-support)
- [Usage in your application framework tests](#usage-in-your-application-framework-tests)
- [Spring Boot](#spring-boot)
- [Quarkus](#quarkus)
- [YouTube Excerpt of 22,014 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:05e8ad4f828222a8, topic:testing