Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

BTL Admin

L26 · OAUTH 2.0

Break PKCE on purpose

Exchange a code with the wrong verifier, then with the right one.

Planned

Steps

  1. Exchange a code with a verifier that does not match the challenge.

    What the server will check: The exchange was rejected as a PKCE mismatch.

  2. Start again and exchange a new code with the matching verifier.

    What the server will check: A successful exchange for the same client.

    Only the application that started the flow knows the verifier, so a stolen code is useless on its own.

When it opens

This lab is planned. It opens when these are in place:

  • Lab setup and cleanup in your test tenant
  • The lab callback page

The server checks your test tenant's history for this attempt. You can review the events yourself in your tenant's Audit and Logs.

Learn the theory

Back to all labs

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow All", you consent to optional analytics. Cookie Policy

The Lab