mulesoft/js-client-oauth2
### [`v4.3.3`](https://togithub.com/mulesoft/js-client-oauth2/releases/v4.3.3)
[Compare Source](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.3.2...v4.3.3)
**1. Updated dependencies.**
**2. Preserve query string params in `authorizationUri`** (Fixed [#144](https://togithub.com/mulesoft/js-client-oauth2/issues/144) with [#153](https://togithub.com/mulesoft/js-client-oauth2/pull/153)).
Now when `authorizationUri` contains contains query string parameters, they are preserved on `getUri` methods calls.
Affects methods: `ClientOAuth2.token.getUri`, `ClientOAuth2.code.getUri`.
E.g. having `authorizationUri=https://example.com/foo?bar=qux` and calling `getUri` method, the output would be:
Before: `https://example.com/foo?bar=qux?client_id=....`
Now: `https://example.com/foo?bar=qux&client_id=....`
**3. Do not send empty scopes to an auth server** (Fixed [#98](https://togithub.com/mulesoft/js-client-oauth2/issues/98) with [#154](https://togithub.com/mulesoft/js-client-oauth2/pull/154)).
If `scopes` is set to `""` or `[]` then we send an empty string to an auth server. If `scopes` is undefined (not set), then we don't send it at all.
Affects method: `getUri`, `ClientOAuth2.owner.getToken`, `ClientOAuth2.credentials.getToken`, `ClientOAuth2.jwt.getToken`, `ClientOAuth2.token.getUri`, `ClientOAuth2.code.getUri`.
### [`v4.3.2`](https://togithub.com/mulesoft/js-client-oauth2/releases/v4.3.2)
[Compare Source](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.3.1...v4.3.2)
- Fixed `window.btoa` call issue in Internet Explorer 11 and Edge (Chromium). Contributed reports and PRs: [#150](https://togithub.com/mulesoft/js-client-oauth2/pull/150), [#148](https://togithub.com/mulesoft/js-client-oauth2/issues/148), [#78](https://togithub.com/mulesoft/js-client-oauth2/issues/78), [#70](https://togithub.com/mulesoft/js-client-oauth2/pull/70)
### [`v4.3.1`](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.3.0...v4.3.1)
[Compare Source](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.3.0...v4.3.1)
### [`v4.3.0`](https://togithub.com/mulesoft/js-client-oauth2/releases/v4.3.0)
[Compare Source](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.2.5...v4.3.0)
- Updated dependencies
- Dropped Node 8 support
Renovate configuration
:date: Schedule: "before 9am,after 5pm" in timezone Europe/London.
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
~4.2.0
->~4.3.0
Release Notes
mulesoft/js-client-oauth2
### [`v4.3.3`](https://togithub.com/mulesoft/js-client-oauth2/releases/v4.3.3) [Compare Source](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.3.2...v4.3.3) **1. Updated dependencies.** **2. Preserve query string params in `authorizationUri`** (Fixed [#144](https://togithub.com/mulesoft/js-client-oauth2/issues/144) with [#153](https://togithub.com/mulesoft/js-client-oauth2/pull/153)). Now when `authorizationUri` contains contains query string parameters, they are preserved on `getUri` methods calls. Affects methods: `ClientOAuth2.token.getUri`, `ClientOAuth2.code.getUri`. E.g. having `authorizationUri=https://example.com/foo?bar=qux` and calling `getUri` method, the output would be: Before: `https://example.com/foo?bar=qux?client_id=....` Now: `https://example.com/foo?bar=qux&client_id=....` **3. Do not send empty scopes to an auth server** (Fixed [#98](https://togithub.com/mulesoft/js-client-oauth2/issues/98) with [#154](https://togithub.com/mulesoft/js-client-oauth2/pull/154)). If `scopes` is set to `""` or `[]` then we send an empty string to an auth server. If `scopes` is undefined (not set), then we don't send it at all. Affects method: `getUri`, `ClientOAuth2.owner.getToken`, `ClientOAuth2.credentials.getToken`, `ClientOAuth2.jwt.getToken`, `ClientOAuth2.token.getUri`, `ClientOAuth2.code.getUri`. ### [`v4.3.2`](https://togithub.com/mulesoft/js-client-oauth2/releases/v4.3.2) [Compare Source](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.3.1...v4.3.2) - Fixed `window.btoa` call issue in Internet Explorer 11 and Edge (Chromium). Contributed reports and PRs: [#150](https://togithub.com/mulesoft/js-client-oauth2/pull/150), [#148](https://togithub.com/mulesoft/js-client-oauth2/issues/148), [#78](https://togithub.com/mulesoft/js-client-oauth2/issues/78), [#70](https://togithub.com/mulesoft/js-client-oauth2/pull/70) ### [`v4.3.1`](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.3.0...v4.3.1) [Compare Source](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.3.0...v4.3.1) ### [`v4.3.0`](https://togithub.com/mulesoft/js-client-oauth2/releases/v4.3.0) [Compare Source](https://togithub.com/mulesoft/js-client-oauth2/compare/v4.2.5...v4.3.0) - Updated dependencies - Dropped Node 8 supportRenovate configuration
:date: Schedule: "before 9am,after 5pm" in timezone Europe/London.
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.