microsoft / microsoft/fhir-server
AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.
Nobody has claimed this yet.
- Dominant language
- TSQL
- Stars
- 1.4k
- Forks
- 592
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 41
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,
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked SMART on FHIR documentation and compare the localhost:5000/sampleapp/index.html redirect URI, cross-origin setting, and SPA or web platform registration. Reproduce the reported SAP and web-authentication scenarios, using successful authorization-code redemption as the completion check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100