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

[ENG-5519] 401 instead of CAS redirect #10592

Conversation

ly-mariia
Copy link
Contributor

@ly-mariia ly-mariia commented Apr 15, 2024

Purpose

Added to_header function (Auth class): Fixes ticket ENG-5519 by enabling retrieval of user.username.
Fixed URL decoding error: Used parse.unquote to address decoding issues.

Changes

  • add the to_header function to the Auth class;
  • fix error with URL decoding;

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

https://openscience.atlassian.net/browse/ENG-5519

felliott added a commit that referenced this pull request Apr 17, 2024
 This branch contains rebased & cherry-picked fixes from seven
 different PRs / tickets.

 [ENG-5480] - replace webtest plus with FlaskClient
 Closes #10583
 commits 1e63cda..e3443f1

 [ENG-5530] - fix sendgrid failures
 Closes #10585
 commit f9ba569

 [ENG-5517] - fix url encoding test issues
 Closes #10589
 commits fd06b14..cc051c9

 [ENG-5520] - fix JsonSchema issues
 Closes #10590
 commits 1b2b084..ec51327

 [ENG-5523] - Fix embargo termination failures
 Closes #10593
 commit 41e685c

 [ENG-5490] - Fix github mock data
 Closes #10586
 commits 7db5e0f..1b652d5

 [ENG-5519] - 401 instead of CAS redirect
 Closes #10592
 commits 30a3623..736ad49
@felliott
Copy link
Member

Merged and closed by d9b757b

@felliott felliott closed this Apr 17, 2024
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.

2 participants