Skip to content

Conversation

@priley86
Copy link
Contributor

@priley86 priley86 commented Sep 26, 2025

Updates all python example with latest auth0-ai python and auth0-ai-js packages.

note: currently awaiting release/publish of these package updates being made in:
auth0/auth0-ai-python#51
auth0/auth0-ai-js#285

cc: @pmalouin

Planning to update all packages after release, but going ahead w/ review requests.

cc: @pmalouin

@priley86 priley86 force-pushed the langchain-fastapi-py-sdk-updates branch 2 times, most recently from bf10962 to 7507c0e Compare September 26, 2025 17:57
source .venv/bin/activate
uv pip install auth0_fastapi # install the auth0 fastapi package
fastapi dev app/main.py --port 3000
fastapi dev app/main.py
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Leaving to default port 8000 as it was before.

Note: you will need this while testing:
Allowed Callback URLs: http://localhost:8000/api/auth/callback
Allowed Logout URLs: http://localhost:8000
Allowed Web Origins: http://localhost:8000

@priley86 priley86 changed the title feat: update langchain-fastapi-py example with latest sdks feat: update python examples with latest auth0-ai-python sdks Sep 30, 2025
@priley86 priley86 requested a review from deepu105 September 30, 2025 19:34
@priley86 priley86 force-pushed the langchain-fastapi-py-sdk-updates branch from 5b20b51 to 6e419c4 Compare October 7, 2025 16:36
@priley86 priley86 marked this pull request as ready for review October 7, 2025 16:36
@priley86 priley86 requested a review from pmalouin October 7, 2025 16:37
Copy link
Contributor

@pmalouin pmalouin left a comment

Choose a reason for hiding this comment

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

overall changes lgtm, not manually tested myself though

@priley86 priley86 force-pushed the langchain-fastapi-py-sdk-updates branch from 6e419c4 to 4bda305 Compare October 13, 2025 15:00
@priley86
Copy link
Contributor Author

$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ PIP_CONFIG_FILE=pip.conf pip install -r requirements.txt
Copy link
Contributor Author

@priley86 priley86 Oct 15, 2025

Choose a reason for hiding this comment

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

Was having trouble installing this way on my corporate Mac, simply b/c my pip config list relies on Artifactory registries by default. Thus, have added a pip.conf to make this a bit easier on corporate pc's...

@priley86 priley86 force-pushed the langchain-fastapi-py-sdk-updates branch from 91f7ed0 to 197abd7 Compare October 15, 2025 21:34
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.

code looks fine. Havent tested, hope that was done as part of process.

@priley86 priley86 merged commit 4f26fb2 into main Oct 16, 2025
1 check passed
@priley86 priley86 deleted the langchain-fastapi-py-sdk-updates branch October 16, 2025 13:09
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