I get following error: AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.
To resolve the above issue, I added the below redirect URL to the Web Platform in the Api App registration.
http://localhost:8000/docs
After adding the redirect URL, I ran the application.
After clicking the Authorize
button, I selected my account.
I successfully logged in without any issues.