Overview of mock-oauth2-server capabilities
masterThe mock-oauth2-server is a scriptable OAuth2/OpenID Connect server designed for testing applications that depend on real OIDC providers. It issues signed JWTs that are verifiable via standard JWKS and discovery endpoints, allowing you to test security flows without disabling security in your application.
Key Features:
- Supports multi-issuer setups (the first path segment in the URL determines the issuer).
- Supports all major OAuth2 grant types.
- Allows token customization.
- Can be embedded in JVM tests or run as a standalone Docker container.
WARNING This server is for testing only. Do not use it in production.