🚀 Our inaugural State of Local Development and Testing report is live! Explore insights & best practices now

Documentation

Java

Community Modules

These modules are maintained by the community, outside of the Testcontainers project.

Description

Dex is an identity service that uses OpenID Connect to drive authentication for other apps.

Read more:

Examples

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", "alice@example.com", "alice-password"));
container.start();