Comments (5)
Thanks for the reply. I tried it before with pip install -U certifi
didn't help. But installing through Applications seems to work. but now I'm getting another error:
Unable to fetch OpenID configuration from Azure AD. Error: 400, message='Bad Request', url=URL('https://login.microsoftonline.com/3/v2.0/.well-known/openid-configuration')
The error is from this module:
File "/venv/lib/python3.9/site-packages/fastapi_azure_auth/openid_config.py", line 55, in load_config
raise RuntimeError(f'Unable to fetch provider information. {error}')
from fastapi-azure-auth.
The 3
in that URL should be the entire tenant ID. The URL should also work directly in the browser.
https://login.microsoftonline.com/3/v2.0/.well-known/openid-configuration
^^
Tenant ID
from fastapi-azure-auth.
Awesome! Happy coding! ๐
from fastapi-azure-auth.
Hello! Happy it works well for you (well, in Docker๐ )!
Sounds like your local Python installation donโt have public certificates installed. How did you install Python?
@ingvaldlorentzen might give a little hint on how it could be resolved, but unfortunately Iโm not a Mac user.
Could you try some of the tricks described in this SO thread?
from fastapi-azure-auth.
Thanks @JonasKs The second error was my bad! I fixed the tenant ID and now it's working.
from fastapi-azure-auth.
Related Issues (20)
- [Question] Graph API call triggers "admin consent required" HOT 1
- SOLVED: CVE-2024-23342 `ecdsa` may be vulnerable to the Minerva attack HOT 3
- Facing authentication issue mentioning pkce required for cross-origin authorization code redemption HOT 1
- [BUG] got claim `acct` in type `int`, but fastapi-azure-auth is waiting for `str` HOT 1
- Add ability to specify audience and issuer to validate token claims against HOT 1
- [BUG/Question] Example use cases for scopes HOT 7
- [Feature request] Support WebSocket connections. HOT 4
- Empty raise HOT 2
- [BUG/Question] Pydantic validation error on email/acr HOT 2
- [Question] Add scopes to redoc and swagger? HOT 1
- [BUG/Question] Scopes are not being validated HOT 4
- [Question] Following https://intility.github.io/fastapi-azure-auth/usage-and-faq/calling_your_apis_from_python/#single--and-multi-tenant but getting Invalid audience HOT 10
- [BUG/Question] Email not present in user object HOT 1
- V5 release
- [BUG/Guest User Evaluation] HOT 4
- [Question] Where is the OpenAPI docs access token stored? HOT 3
- [Documentation - Locking Down on Roles ] HOT 2
- Deprecation Warning: Pydantic V1 style @validator deprecated in Pydantic V2 HOT 2
- [Feature request] Provide a OAuth2PasswordBearer flow that uses `client_id`/`client_secret` and simply calls the appropriate token endpoint HOT 1
- [BUG/Question] Python 3.9 still supported? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastapi-azure-auth.