Skip to content

feat(auth0-api-js): POC implementation of OBO#163

Open
nandan-bhat wants to merge 7 commits into
mainfrom
poc/obo/sdk-8559
Open

feat(auth0-api-js): POC implementation of OBO#163
nandan-bhat wants to merge 7 commits into
mainfrom
poc/obo/sdk-8559

Conversation

@nandan-bhat
Copy link
Copy Markdown
Contributor

Changes

Implemented On-Behalf-Of (OBO) token exchange support in @auth0/auth0-api-js by adding ApiClient#getTokenOnBehalfOf(...) as a thin wrapper over the existing RFC 8693 exchange flow.

The new API keeps the application-facing contract simple by accepting only the incoming access token, downstream audience, and optional scope, while reusing the existing confidential-client auth and token exchange behavior internally.

This PR also adds

  • Exported OBO result/types
  • Test coverage for the new method
  • README.md and EXAMPLES.md updates

No existing public APIs were changed, so this is additive and non-breaking.

@nandan-bhat nandan-bhat changed the title feat(auth0-api-js): poc implementation of OBO feat(auth0-api-js): POC implementation of OBO Apr 16, 2026
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