Comments (6)
Hi! Yes, I agree. I actually did this with a project using AWS Cognito auth this weekend.
I’m very happy to accept a pull request on this 😊
from fastapi-azure-auth.
Hi @robteeuwen , would you like to submit a PR? 😊
from fastapi-azure-auth.
I do, but I need a little bit of time to format my code. I made multiple changes that I have to pull apart.
from fastapi-azure-auth.
No worries - let me know if you need any help! 😊
from fastapi-azure-auth.
I'm having some trouble with the tests. I'm pretty sure the code itself works fine, at least within the context I need it for (I've tested it in the dev environment of my organization and my local environment). I noticed that the mock keys that are used for the tests (in build_openid_keys()
in utils.py
) only had placeholders for n
and e
fields, so adding the real values based on the cert fixed some failing tests. However, some tests are currently still failing because the signature can't be verified for some reason. Not sure what's going wrong there, but feel free to take a look at my fork.
from fastapi-azure-auth.
Awesome! I’ll look this week. Could you create a PR so I can contribute to your fork?
from fastapi-azure-auth.
Related Issues (20)
- get JWT token after validation HOT 11
- [Feature request] Accept both token versions HOT 6
- [Question] Implementation on Azure API Management HOT 3
- [Feature request] Docs On How to set up AAD B2C HOT 10
- Wrong access token required claims HOT 2
- OpenAPI schema with FastAPI >= 0.99.0 HOT 2
- [Feature request] HOT 1
- Validating extension attributes for managing user roles in B2C HOT 3
- Multiple Scopes HOT 3
- [Feature request] support Pydantic v2 syntax / @validator -> @field_validator HOT 5
- [BUG/Question] Fixing TypeError during WebSocket Authentication Migration from FastAPI 0.96 to 0.97 HOT 8
- Calling your APIs from Python not working HOT 22
- [Question] Middleware logging does not get request.state.user HOT 2
- Make leeway a setting available for configuration
- [Question] HOT 6
- [BUG/Question] auth_time is parsed as a string, should be int HOT 2
- [BUG/Question] Got 'Token contains invalid claims' error for the `single tenant setup example ` HOT 6
- [Question] Validate bearer token from Angular SPA (Azure AD) in FastAPI HOT 4
- [BUG/Question] Error calling openid_config.load_config with Httpx 0.25.1 HOT 4
- [Bug/Question] HOT 2
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.