You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;.
An AuthorizationManager instance can now be provided as a SDKOption; This allows auto-configuration of Authorization headers for requests made using the SDK.
Removes getTokenForScope method. This method has been deprecated since the release of 3.0.0 and with the new AuthorizationManager is no longer useful; Tokens are stored by resource_server, not scope.
The shared serviceRequest method has been updated to retrieve tokens from an AuthorizationManager, when passed via SDKOptions.
This change simplifies the creation of authorized versions of requests by automatically adding the Authorization header found in the manager instance for the request.
Providing an Authorization header prior to this change...
The errors module is now exposed as part of the default entry. This includes various utilities (and type guards) for interacting with responses from services. (#166) (0c178b9)
Authorization: adds ability to look up GCS tokens (and tokens for arbitrary resource servers) managed by the AuthoirzationManager (client). (#162) (e1cb6b3)
Bug Fixes
Authorization: allow creation of AuthorizationManager without a scope parameter (#161) (25d0649)
disable importHelpers to avoid peerDependency of tslib for consumers (#157) (e25946b)