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(Authorization): The value of the 'required_scopes' property of an AuthorizationError is now sent to Globus Auth as 'scope' parameter by default. #366

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

jbottigliero
Copy link
Member

This addresses situations where AuthorizationManager.handleAuthorizationError or .handleError was being used and not requesting the proper scopes by default.

@jbottigliero jbottigliero force-pushed the fix-request_scopes-mapping branch 2 times, most recently from 29efb5c to a3abe0a Compare November 13, 2024 22:48
… AuthorizationError is now sent to Globus Auth as 'scope' parameter by default.
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.05%. Comparing base (5f9dd17) to head (b2e7db6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #366   +/-   ##
=======================================
  Coverage   99.05%   99.05%           
=======================================
  Files          68       68           
  Lines        1162     1163    +1     
  Branches      180      180           
=======================================
+ Hits         1151     1152    +1     
  Misses         11       11           

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

@jbottigliero jbottigliero merged commit 66e5c32 into main Nov 13, 2024
7 checks passed
@jbottigliero jbottigliero deleted the fix-request_scopes-mapping branch November 13, 2024 23:05
jbottigliero pushed a commit that referenced this pull request Nov 13, 2024
🤖 I have created a release *beep* *boop*
---


##
[5.1.1](v5.1.0...v5.1.1)
(2024-11-13)


### Bug Fixes

* **Authorization:** The value of the 'required_scopes' property of an
AuthorizationError is now sent to Globus Auth as 'scope' parameter by
default.
([#366](#366))
([66e5c32](66e5c32))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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