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

fix(server): Allow authorization bearer token header for API access #2944

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

nellh
Copy link
Contributor

@nellh nellh commented Nov 19, 2023

Originally reported by @jbwexler - this fix is also needed for deferred auth used with new upload features.

Copy link

codecov bot commented Nov 19, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (601f3bb) 64.86% compared to head (c218202) 64.89%.
Report is 2 commits behind head on master.

Files Patch % Lines
...es/openneuro-server/src/libs/authentication/jwt.ts 80.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2944      +/-   ##
==========================================
+ Coverage   64.86%   64.89%   +0.02%     
==========================================
  Files         378      378              
  Lines       24221    24230       +9     
  Branches      864      868       +4     
==========================================
+ Hits        15710    15723      +13     
+ Misses       8511     8507       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nellh nellh merged commit a49b7af into master Nov 19, 2023
7 checks passed
@nellh nellh deleted the feat/api-header-auth branch November 19, 2023 21:35
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

Successfully merging this pull request may close these issues.

1 participant