Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token Authorization against FHIR Server doesn't work #7

Open
hfelderhoff opened this issue May 10, 2023 · 0 comments
Open

Token Authorization against FHIR Server doesn't work #7

hfelderhoff opened this issue May 10, 2023 · 0 comments

Comments

@hfelderhoff
Copy link

Issue:
Using a valid OAuth token for authorization against the FHIR Server causes "401 Unauthorized" HTTP status code in tag v0.5.2.

Cause:
In the extraction/fhir.py script, there is a colon (":") in line 17 behind "Bearer" which causes the issue:

        self._headers['Authorization'] = f"Bearer: {token}"

Solution:
Remove the colon and token authorization works as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant