Releases: kitware-resonant/resonant-oauth-client
Releases · kitware-resonant/resonant-oauth-client
v0.9.2
v0.9.1
- Require Node.js version 16+
v0.9.0
- Breaking Change: This package is now renamed to
@resonant/oauth-client
.- Update existing
to
import ... from "@girder/oauth-client"
import ... from "@resonant/oauth-client"
- Update existing
- Prevent unnecessary console output.
v0.8.0
-
Breaking Change:
OauthClient
now requires aURL
object as it's first argument.- Update existing
to
new OauthClient('http://some.url/oauth/', ...
new OauthClient(new URL('http://some.url/oauth/'), ...
- Update existing
-
Breaking Change: The
OauthClient
scopes
optional argument is now passed via an options object as the third argument.- Update existing
to
new OauthClient(..., ['read_scope'])
new OauthClient(..., {scopes: ['read_scope']})
- Update existing
-
Added an
OauthClient
option forredirectUrl
, to specify the OAuth2 Redirect URI to submit to the server. This defaults to the current URL.- Use this like:
new OauthClient(..., {redirectUrl: new URL('http://some.url/oauth-landing')})
- Use this like:
-
Added additional internal validation (with automatic correction) of passed URLs.
v0.7.8
- Upgrade npm packages
- Minor internal build improvements
v0.7.7
- Upgrade npm packages
v0.7.6
- Fix minor code issues discovered by linting
v0.7.2
- Fix documentation typos
v0.7.1
- Fix a bug in token expiration checking
- Export non-default symbols from the package
v0.7.0
- Selectively clear URL parameters in all login cases
- Support refreshing expired tokens
- Harden the logout method and update docs on its usage
- Use a more stable TS configuration, targeting ES2017 output