Skip to content

Share OAuth authorization-code client flow - #17

Merged
bherila merged 1 commit into
mainfrom
agent/shared-oauth-client
Aug 15, 2026
Merged

Share OAuth authorization-code client flow#17
bherila merged 1 commit into
mainfrom
agent/shared-oauth-client

Conversation

@bherila

@bherila bherila commented Aug 15, 2026

Copy link
Copy Markdown
Owner

What changed

  • adds a reusable OAuth authorization-code client with PKCE
  • validates callback state, token exchange, and provider identity responses
  • returns a small normalized identity value object
  • leaves local-user provisioning and authorization policy in each consuming app
  • documents the shared/app ownership boundary

Why

SVC, Games, and PHR currently duplicate the same protocol mechanics. Centralizing them here keeps security fixes and provider behavior consistent without coupling app-specific user rules.

Validation

  • composer validate --strict
  • composer test (43 tests, 105 assertions)

@bherila
bherila merged commit 8c8698d into main Aug 15, 2026
4 checks passed
@bherila
bherila deleted the agent/shared-oauth-client branch August 15, 2026 06:08
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.

1 participant