Skip to content

feat(oauth): implement client credentials flow and authenticated webhook subscriptions (#92)#97

Open
annukumar123 wants to merge 4 commits into
Memact:mainfrom
annukumar123:feature/oauth-webhook-pubsub
Open

feat(oauth): implement client credentials flow and authenticated webhook subscriptions (#92)#97
annukumar123 wants to merge 4 commits into
Memact:mainfrom
annukumar123:feature/oauth-webhook-pubsub

Conversation

@annukumar123

Copy link
Copy Markdown
Contributor

🔑 Overview

Implements standard OAuth client credentials authentication mechanics inside the core client factory to support authenticated lifecycle tracking across Webhook & Event Pub/Sub components.

🛠️ Changes Introduced

  • Added client.oauth.authenticate(clientId, clientSecret) to exchange application credentials for runtime access tokens.
  • Added client.oauth.subscribeWebhook(targetUrl, events) for managing secure event delivery paths.
  • Updated internal request transport context to dynamically inject OAuth bearer tokens over static api keys when running token-validated operations.
  • Added corresponding suite variations inside test/sdk.test.mjs confirming full end-to-end functionality.

#92

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