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

Add fix for #1575 to allow OPTIONS method to work with x-api-key #1576

Merged
merged 3 commits into from
Dec 22, 2021

Conversation

jcourt562
Copy link
Contributor

Allow OPTIONS method used by browsers to implement CORS checks to be serviced without requiring the x-api-key to be present in the request. Also added a test case for same.

Signed-off-by: john court [email protected]

…k when x-api-key is configured

Signed-off-by: john court <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2021

Codecov Report

Merging #1576 (ba6461c) into main (cd5588f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1576   +/-   ##
=======================================
  Coverage   95.76%   95.76%           
=======================================
  Files         527      527           
  Lines       32312    32312           
=======================================
+ Hits        30942    30943    +1     
+ Misses       1370     1369    -1     

@ianco ianco merged commit d7abd7c into openwallet-foundation:main Dec 22, 2021
@jcourt562 jcourt562 deleted the OPTIONSWithoutApiKey#1575 branch January 31, 2022 22:18
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.

3 participants