Comments (1)
Thank you @JohnCHarrington - very interesting finding.
Seems like I did a mistake by mixing policies (which seems to be relevant only for B2C) and authorities.
But to be honest, looking at the internal of the python MSAL, they are not even considering or providing a decent support for the B2C scenario.
Looking at the added AuthorityBuilder it has no support at all for the B2C policy requirement.
Anyway, I need to think how to solve that mix as the two needs to be seperated but I would like to avoid a breaking change, also would probably need to address different well known authorizations for the new gov they are providing for the US / DE / CN cloud, if that would be requested by other developers.
I'll issue a patch to resolve that for now, but if you have any idea for a more resilient change this would be very much welcome 🙏
from fastapi_msal.
Related Issues (20)
- Traceback when launching app contains error with itsdangerous HOT 8
- Document how to get a token for accessing the API via curl HOT 4
- How to get group claims? HOT 5
- Dependency overrides in unit testing HOT 1
- Expired token return Internal Server Error HOT 1
- Exception in ASGI Application When Running Sample from README HOT 17
- Wrong redirect URL when using README usage example HOT 2
- Question: Any way to hide the /docs that is compatible with fastapi_msal? HOT 7
- redirect_uri str type expected (type=type_error.str) HOT 2
- Migration to pydantic v2 (and pydantic-settings) HOT 1
- Question: How to access API outside of swagger page HOT 10
- [Auth bug] 500 instead of 401 when invalid auth token (JWT) is provived HOT 5
- Route to token_path is http when I need httpS per Azure application configuration HOT 2
- Authority URL is now always returns as a b2c url. HOT 3
- Missing "groups" property on IDTokenClaim HOT 6
- Question: How to bypass MSAL authentication for unit testing? HOT 4
- Question: Cannot install fastapi_msal on Windows HOT 4
- How do I get past this stage to get the access token? HOT 2
- Logout with fastapi_msal 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_msal.