Thanks for your time and patience, from above description I am able understand that you are trying to deploy python application integrated with MSAL. You were able to signin to the application but not getting redirected to defined path "/getAToken".
Please correct me if this is not the case by responding in the comments section.
I was able to test this with ***tutorial *and following are my findings:
- The application was called @ [http://localhost:8000].
- Once I hit sign in it did redirect me to /getAToken
-
- Then it took me consent page with common endpoint as I enabled my application for all account types:
On reviewing your configuration above I have following suggestions:
- Redirect path must be same in the application code and application registration.
In app.py, or app_config or app_config_B2C you must configure redirect path as below:
Similarly the redirect URL in the application registration must be same as in the application code:
Please do let me know if you have any further queries.
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.