Description
Dex is an identity service that uses OpenID Connect to drive authentication for other apps.
Read more:
Examples
Dependency:
<dependency>
<groupId>wf.garnier</groupId>
<artifactId>testcontainers-dex</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>
Usage:
var container = new DexContainer(DexContainer.DEFAULT_IMAGE_NAME.withTag(DexContainer.DEFAULT_TAG))
.withClient(new DexContainer.Client("client-1", "client-1-secret", "https://one.example.com/authorized"))
.withUser(new DexContainer.User("alice", "[email protected]", "alice-password"));
container.start();