Skip to content

Add support for PKCE for OAuth2#36

Merged
thekid merged 2 commits into
masterfrom
feature/pkce
Jan 4, 2026
Merged

Add support for PKCE for OAuth2#36
thekid merged 2 commits into
masterfrom
feature/pkce

Conversation

@thekid

@thekid thekid commented Jan 4, 2026

Copy link
Copy Markdown
Member

Example:

use web\auth\oauth\{OAuth2Flow, ByPKCE};

$flow= new OAuth2Flow(
  'https://example.com/login/oauth/authorize',
  'https://example.com/login/oauth/access_token',
  new ByPKCE($clientId, 'S256'),
  '/oauth/callback'
);

Implements client side of xp-forge/mcp#11

Comment thread src/main/php/web/auth/oauth/ByPKCE.class.php
@thekid thekid added the enhancement New feature or request label Jan 4, 2026
@thekid thekid merged commit 57442af into master Jan 4, 2026
14 checks passed
@thekid thekid deleted the feature/pkce branch January 4, 2026 01:26
@thekid

thekid commented Jan 4, 2026

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant