Skip to content

Commit 1905a91

Browse files
committed
Fixed regression for OIDC scopes introduced in 2.4.0, v2.4.1
1 parent d249596 commit 1905a91

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.4.1] - 2022-01-13
10+
11+
### Fixed
12+
13+
- Fixed regression for OIDC scopes introduced in 2.4.0
14+
915
## [2.4.0] - 2022-01-10
1016

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

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

168-
[Unreleased]: https://github.com/Open-EO/openeo-js-client/compare/v2.4.0...HEAD
174+
[Unreleased]: https://github.com/Open-EO/openeo-js-client/compare/v2.4.1...HEAD
175+
[2.4.1]: https://github.com/Open-EO/openeo-js-client/compare/v2.4.0...v2.4.1
169176
[2.4.0]: https://github.com/Open-EO/openeo-js-client/compare/v2.3.1...v2.4.0
170177
[2.3.1]: https://github.com/Open-EO/openeo-js-client/compare/v2.3.0...v2.3.1
171178
[2.3.0]: https://github.com/Open-EO/openeo-js-client/compare/v2.2.0...v2.3.0

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ JavaScript/TypeScript client for the openEO API.
44

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

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

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openeo/js-client",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"author": "openEO Consortium",
55
"contributors": [
66
{

src/oidcprovider.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class OidcProvider extends AuthProvider {
241241
client_id: this.clientId,
242242
redirect_uri: OidcProvider.redirectUrl,
243243
authority: this.issuer.replace('/.well-known/openid-configuration', ''),
244-
scope,
244+
scope: scope.join(' '),
245245
validateSubOnSilentRenew: true,
246246
response_type,
247247
response_mode: response_type.includes('code') ? 'query' : 'fragment'

src/openeo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class OpenEO {
110110
* @returns {string} Version number (according to SemVer).
111111
*/
112112
static clientVersion() {
113-
return "2.4.0";
113+
return "2.4.1";
114114
}
115115

116116
}

0 commit comments

Comments
 (0)