-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(Authorization): adds "additionalParams" option to allow passing arbitrary query parameters through OAuth redirects. #170
Conversation
Just learning about the test suite so I can test the params are preserved |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #170 +/- ##
==========================================
- Coverage 99.12% 91.80% -7.33%
==========================================
Files 63 63
Lines 919 927 +8
Branches 125 132 +7
==========================================
- Hits 911 851 -60
- Misses 8 68 +60
- Partials 0 8 +8 ☔ View full report in Codecov by Sentry. |
fff6292
to
0d29c28
Compare
7ac60ee
to
e07ba94
Compare
Still trying to figure out what test for |
d5fe7b0
to
8a48b7a
Compare
Co-authored-by: Joe Bottigliero <694253+jbottigliero@users.noreply.github.com>
…ects - The `additionalParams` option is for the transport, not the `getToken` method.
f69c80b
to
87c9533
Compare
## [3.4.0](v3.3.1...v3.4.0) (2024-06-03) ### Features * **Authorization:** adds `additionalParams` option to allow passing arbitrary query parameters through OAuth redirects. ([#170](#170)) ([754b508](754b508)) ```tsx managerInstance.handleErrorResponse(res, { additionalParams: { retained_state: "example-state", retained_route: "example.route", }, }); ``` * **GCS:** adds HTTPS Access service methods to GCS ([#182](#182)) ([a258082](a258082)) ```tsx const request = await https.get(GCS_CONFIGURATION, '/my-file.txt', { headers: { Authorization: 'Bearer an-example-token', }, }); ``` ## Internal We've updated the request composition to include an `X-Globus-ClientInfo` header with requests. This header will include the current SDK version information for use by the Globus platform and support. e.g. `X-Globus-ClientInfo: product=javascript-sdk,version=3.4.0;`. --- 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>
No description provided.