@backstage/core-app-api 1.6.0-next.2 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @backstage/core-app-api
2
2
 
3
+ ## 1.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 456eaa8cf83: `OAuth2` now gets ID tokens from a session with the `openid` scope explicitly
8
+ requested.
9
+
10
+ This should not be considered a breaking change, because spec-compliant OIDC
11
+ providers will already be returning ID tokens if and only if the `openid` scope
12
+ is granted.
13
+
14
+ This change makes the dependence explicit, and removes the burden on
15
+ OAuth2-based providers which require an ID token (e.g. this is done by various
16
+ default [auth
17
+ handlers](https://backstage.io/docs/auth/identity-resolver/#authhandler)) to add
18
+ `openid` to their default scopes. _That_ could carry another indirect benefit:
19
+ by removing `openid` from the default scopes for a provider, grants for
20
+ resource-specific access tokens can avoid requesting excess ID token-related
21
+ scopes.
22
+
23
+ ### Patch Changes
24
+
25
+ - 52b0022dab7: Updated dependency `msw` to `^1.0.0`.
26
+ - Updated dependencies
27
+ - @backstage/core-plugin-api@1.5.0
28
+ - @backstage/config@1.0.7
29
+ - @backstage/types@1.0.2
30
+ - @backstage/version-bridge@1.0.3
31
+
3
32
  ## 1.6.0-next.2
4
33
 
5
34
  ### Minor Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/core-app-api",
3
3
  "description": "Core app API used by Backstage apps",
4
- "version": "1.6.0-next.2",
4
+ "version": "1.6.0",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "main": "dist/index.esm.js",
@@ -32,8 +32,8 @@
32
32
  "start": "backstage-cli package start"
33
33
  },
34
34
  "dependencies": {
35
- "@backstage/config": "^1.0.7-next.0",
36
- "@backstage/core-plugin-api": "^1.5.0-next.2",
35
+ "@backstage/config": "^1.0.7",
36
+ "@backstage/core-plugin-api": "^1.5.0",
37
37
  "@backstage/types": "^1.0.2",
38
38
  "@backstage/version-bridge": "^1.0.3",
39
39
  "@types/prop-types": "^15.7.3",
@@ -48,8 +48,8 @@
48
48
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@backstage/cli": "^0.22.4-next.1",
52
- "@backstage/test-utils": "^1.2.6-next.2",
51
+ "@backstage/cli": "^0.22.4",
52
+ "@backstage/test-utils": "^1.2.6",
53
53
  "@testing-library/jest-dom": "^5.10.1",
54
54
  "@testing-library/react": "^12.1.3",
55
55
  "@testing-library/react-hooks": "^8.0.0",