Skip to content

Commit

Permalink
Fixed regression for OIDC scopes introduced in 2.4.0, v2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Jan 13, 2022
1 parent d249596 commit 1905a91
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.4.1] - 2022-01-13

### Fixed

- Fixed regression for OIDC scopes introduced in 2.4.0

## [2.4.0] - 2022-01-10

### Added
Expand Down Expand Up @@ -165,7 +171,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

All prior releases have been documented in the [GitHub Releases](https://github.com/Open-EO/openeo-js-client/releases).

[Unreleased]: https://github.com/Open-EO/openeo-js-client/compare/v2.4.0...HEAD
[Unreleased]: https://github.com/Open-EO/openeo-js-client/compare/v2.4.1...HEAD
[2.4.1]: https://github.com/Open-EO/openeo-js-client/compare/v2.4.0...v2.4.1
[2.4.0]: https://github.com/Open-EO/openeo-js-client/compare/v2.3.1...v2.4.0
[2.3.1]: https://github.com/Open-EO/openeo-js-client/compare/v2.3.0...v2.3.1
[2.3.0]: https://github.com/Open-EO/openeo-js-client/compare/v2.2.0...v2.3.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ JavaScript/TypeScript client for the openEO API.

* [Documentation](https://open-eo.github.io/openeo-js-client/latest/).

The version of this client is **2.4.0** and supports **openEO API versions 1.x.x**.
The version of this client is **2.4.1** and supports **openEO API versions 1.x.x**.
Legacy versions are available as releases.
See the [CHANGELOG](CHANGELOG.md) for recent changes.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openeo/js-client",
"version": "2.4.0",
"version": "2.4.1",
"author": "openEO Consortium",
"contributors": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/oidcprovider.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class OidcProvider extends AuthProvider {
client_id: this.clientId,
redirect_uri: OidcProvider.redirectUrl,
authority: this.issuer.replace('/.well-known/openid-configuration', ''),
scope,
scope: scope.join(' '),
validateSubOnSilentRenew: true,
response_type,
response_mode: response_type.includes('code') ? 'query' : 'fragment'
Expand Down
2 changes: 1 addition & 1 deletion src/openeo.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class OpenEO {
* @returns {string} Version number (according to SemVer).
*/
static clientVersion() {
return "2.4.0";
return "2.4.1";
}

}
Expand Down

0 comments on commit 1905a91

Please sign in to comment.