Skip to content

feat: add On-Behalf-Of Token Exchange API documentation#1303

Merged
lrzhou25 merged 4 commits into
mainfrom
feat/obo_token_exchange_auth_api
Jun 15, 2026
Merged

feat: add On-Behalf-Of Token Exchange API documentation#1303
lrzhou25 merged 4 commits into
mainfrom
feat/obo_token_exchange_auth_api

Conversation

@lrzhou25

Copy link
Copy Markdown
Contributor

Summary

Add comprehensive API documentation for the On-Behalf-Of (OBO) Token Exchange endpoint that enables middle-tier services to preserve user identity and permissions when calling downstream APIs.

Changes

  • Created new API documentation at /api/authentication/on-behalf-of-token-exchange/get-token
  • Documents the POST /oauth/token endpoint with grant_type: token-exchange for OBO flows
  • Updated navigation config for English, French (fr-ca), and Japanese (ja-jp) locales
  • Follows existing authentication API documentation structure and conventions

Documentation Coverage

  • RFC 8693 token exchange for preserving user identity in microservices
  • Actor claim delegation chain tracking (up to 5 nested levels)
  • Custom API client prerequisites and configuration requirements
  • Request parameters: grant_type, subject_token, subject_token_type, requested_token_type, client_id, client_secret, audience, scope
  • Response examples with status codes (200, 400, 401, 403)
  • Rate limits and caching best practices
  • RBAC-based scope filtering
  • Links to main OBO token exchange documentation

Testing

  • ✅ Built and verified locally with mint dev
  • ✅ Page accessible at /docs/api/authentication/on-behalf-of-token-exchange/get-token
  • ✅ Navigation entry appears correctly in sidebar
  • ✅ All Mintlify components render properly

Screenshots

Preview available at http://localhost:3000/docs/api/authentication/on-behalf-of-token-exchange/get-token

Related Documentation

🤖 Generated with Claude Code

lrzhou25 and others added 2 commits May 28, 2026 10:22
Add comprehensive API documentation for the On-Behalf-Of (OBO) Token Exchange endpoint that enables middle-tier services to preserve user identity and permissions when calling downstream APIs.

Changes:
- Created new API documentation at /api/authentication/on-behalf-of-token-exchange/get-token
- Documents the POST /oauth/token endpoint with grant_type token-exchange for OBO flows
- Includes detailed parameter descriptions, request/response examples, and remarks
- Updated navigation config for English, French (fr-ca), and Japanese (ja-jp) locales
- Follows existing authentication API documentation structure and conventions

The documentation covers:
- RFC 8693 token exchange for preserving user identity in microservices
- Actor claim delegation chain tracking
- Custom API client prerequisites
- Rate limits and caching best practices
- RBAC-based scope filtering

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Simplified description to focus on core functionality
- Fixed typo: removed duplicate "to" in main description
- Added more specific Custom API client requirements in remarks
- Improved internal linking with proper relative URLs
- Updated error response to reflect correct max delegation chain depth (5)
- Enhanced parameter descriptions and documentation links

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@lrzhou25 lrzhou25 requested review from a team as code owners May 28, 2026 18:07
@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Status Count
🔍 Total 14
✅ Successful 6
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 8
❓ Unknown 0
🚫 Errors 0
⛔ Unsupported 0
Full Github Actions output

@mintlify

mintlify Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
auth0 🟢 Ready View Preview May 28, 2026, 6:14 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Comment thread main/docs/api/authentication/on-behalf-of-token-exchange/get-token.mdx Outdated
Co-authored-by: Amanda VS <amanda.vanscoy@auth0.com>
@lrzhou25 lrzhou25 merged commit 1e1ec90 into main Jun 15, 2026
5 of 6 checks passed
@lrzhou25 lrzhou25 deleted the feat/obo_token_exchange_auth_api branch June 15, 2026 16:19
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.

4 participants