AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption. #3980
Description
Hi,
I download the smart applicaiton on my PC locally, and i try to use the local application Smart to connect to fhir service.
The SPA redirect-URI is http://localhost:5000/sampleapp/index.html, which is exposed locally
I just try the test with your doc: https://learn.microsoft.com/en-au/azure/healthcare-apis/fhir/smart-on-fhir
The cross-origin is enabled and well configured in fhir server based on the doc
here are the errors:
scenario 1 : APP Error : AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.
When I use the SAP authentication:
scenario 2 : App Error :
When I use the Web Authentication, However, when I tried the web platform registration, I encountered another error. I believe using a single-page application for authentication is the recommended approach
so how to resolve this pb when we use SAP authentification?
Regards,