Skip to content

Add PKCE support to AuthorizationCode benchmark scenario - #1341

Open
pedroigor wants to merge 1 commit into
keycloak:mainfrom
pedroigor:issue-1340
Open

Add PKCE support to AuthorizationCode benchmark scenario#1341
pedroigor wants to merge 1 commit into
keycloak:mainfrom
pedroigor:issue-1340

Conversation

@pedroigor

Copy link
Copy Markdown
Contributor

Summary

  • Adds --use-pkce=true flag to enable PKCE (RFC 7636) in the AuthorizationCode Gatling scenario
  • Generates a per-user code_verifier and S256 code_challenge, sends them on the authorization and token endpoints respectively
  • Omits client_secret when PKCE is enabled, enabling benchmarking against public clients like security-admin-console

Closes #1340

Test plan

  • Run AuthorizationCode scenario with --use-pkce=true against security-admin-console — 128 requests, 0% errors
  • Verify backward compatibility: scenario works without --use-pkce flag against confidential clients

🤖 Generated with Claude Code

Closes keycloak#1340

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add PKCE support to AuthorizationCode benchmark scenario

1 participant