Skip to content

feat(ciba): add support for RAR requests for CIBA #228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025
Merged

Conversation

cristiandouce
Copy link
Contributor

This pull request introduces support for Rich Authorization Requests (RAR) in Client-Initiated Backchannel Authentication (CIBA) across multiple packages and updates the CIBA authorizer implementation to handle RAR parameters. The changes include updates to documentation, new parameters for the CIBA authorizer, and enhancements to the internal authorization logic.

Documentation Updates:

  • Added detailed sections on using RAR with CIBA in the README.md files for ai-genkit, ai-langchain, ai-llamaindex, and ai-vercel. These sections include code examples, setup instructions, and links to relevant Auth0 documentation. [1] [2] [3] [4]

Enhancements to CIBA Authorizer:

  • Updated the CIBAAuthorizerBase class to include support for the authorizationDetails parameter. This parameter is resolved and serialized into a JSON string to comply with Auth0's requirements. Undefined values are also filtered out from the final authorization parameters.
  • Modified the CIBAAuthorizerParams type to add the optional authorizationDetails parameter for RAR support and updated the scopes parameter documentation. [1] [2]

@cristiandouce cristiandouce merged commit 43c3e03 into main May 16, 2025
2 checks passed
@cristiandouce cristiandouce deleted the feat-ciba-rar branch May 16, 2025 19:25
Copy link

🎉 This PR is included in version @auth0/ai-v3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version @auth0/ai-genkit-v4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version @auth0/ai-langchain-v3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version @auth0/ai-llamaindex-v3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version @auth0/ai-vercel-v3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants