Skip to content

Conversation

PavelKorobchuk
Copy link
Contributor

@PavelKorobchuk PavelKorobchuk commented Oct 1, 2025

Renamed all CIBA and Token Vault-related methods/classes in our AI JS SDK
According to name convention docs

Copy link
Contributor

@deepu105 deepu105 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has a lot of unrelated and unnecessary changes. Can we please stick to just renaming the API calls and stuff

);

return (
<ChatWindow
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change? seems unrelated and unnecessary

@priley86
Copy link
Contributor

priley86 commented Oct 3, 2025

This PR has a lot of unrelated and unnecessary changes. Can we please stick to just renaming the API calls and stuff

unfortunately, i think this change will soon require some of the langgraph + ai sdk 5 updates as well (w/ these core package updates coming). Preference here is to do at once, since these examples have not yet been updated, and so we do not have to re-test all of these twice / re-update the public documentation separately. We cut separate tags for those in the automated JS release, but i don't think we are planning to do this in the python. Agree it would have been cleaner git history here to isolate, but this is a bigger effort then.

These changes should not be overly significant though, and similar examples have been validated to work previously in the auth0-ai-js / auth0-ai-python repos though.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file, sibling files and directory name should be identical to the contents of the packages/ai-components/templates/TokenVault/* directory from your PR at: auth0-lab/auth0-ai-js#285

This repo seems to hold a old version of the component and is a bit confusing. For example, the FederatedConnectionInterruptHandler does not belong as part of this component and should be moved out.

This same comment applies to all other samples below in the PR 👇

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 here, was noting the same recently in auth0-assistant0 repo. We seem to have different variations of this component, so i would agree w/ moving it out to another directory that is more local to the usage for now.

examples:
https://github.com/auth0-samples/auth0-assistant0/blob/main/py-langchain/frontend/src/components/auth0-ai/FederatedConnections/FederatedConnectionsInterruptHandler.tsx

and:
https://github.com/auth0-samples/auth0-assistant0/blob/main/ts-vercel-ai/src/components/auth0-ai/federated-connections/index.tsx

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