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

Ensure BasicAuth forwards to original URL after login #5357

Merged
merged 1 commit into from Aug 1, 2023

Conversation

philippjfr
Copy link
Member

Unlike the OAuth handlers the BasicAuth handler did not correctly redirect the user back to their originally requested URL. This resulted in query parameters being dropped.

@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #5357 (9a396e9) into main (df0b277) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #5357      +/-   ##
==========================================
- Coverage   72.70%   72.69%   -0.01%     
==========================================
  Files         274      274              
  Lines       39843    39847       +4     
==========================================
- Hits        28968    28967       -1     
- Misses      10875    10880       +5     
Flag Coverage Δ
unitexamples-tests 72.69% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
panel/auth.py 36.38% <0.00%> (-0.31%) ⬇️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@philippjfr philippjfr merged commit 36be84d into main Aug 1, 2023
12 of 15 checks passed
@philippjfr philippjfr deleted the basic_auth_redirect branch August 1, 2023 12:02
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.

None yet

1 participant