---
title: Mocking OAuth2 Flows
description: Mock OAuth2 and OpenID Connect token endpoints, JWKS discovery, and authorization flows in MockServer for integration testing.
shortTitle: Mock OAuth2
layout: page
pageOrder: 10
section: 'Mock Server'
subsection: true
sitemap:
  priority: 0.8
  changefreq: 'monthly'
  lastmod: 2026-05-10T00:00:00+00:00
---

{% include_subpage _includes/mocking_oauth2.html %}
