-
Notifications
You must be signed in to change notification settings - Fork 23
feat: update python examples with latest auth0-ai-python sdks #15
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
Conversation
bf10962 to
7507c0e
Compare
| 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 |
There was a problem hiding this comment.
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
5b20b51 to
6e419c4
Compare
pmalouin
left a comment
There was a problem hiding this 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
call-apis-on-users-behalf/others-api/langchain-fastapi-py/frontend/package.json
Outdated
Show resolved
Hide resolved
6e419c4 to
4bda305
Compare
|
| $ python -m venv venv | ||
| $ source venv/bin/activate | ||
| $ pip install -r requirements.txt | ||
| $ PIP_CONFIG_FILE=pip.conf pip install -r requirements.txt |
There was a problem hiding this comment.
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...
91f7ed0 to
197abd7
Compare
deepu105
left a comment
There was a problem hiding this 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.
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