@backstage/plugin-auth-backend 0.5.0 → 0.6.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,72 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e0e57817d2: Added Google Cloud Identity-Aware Proxy as an identity provider.
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.10.2
10
+
11
+ ## 0.6.0
12
+
13
+ ### Minor Changes
14
+
15
+ - c88cdacc1a: Avoid ever returning OAuth refresh tokens back to the client, and always exchange refresh tokens for a new one when available for all providers.
16
+
17
+ This comes with a breaking change to the TypeScript API for custom auth providers. The `refresh` method of `OAuthHandlers` implementation must now return a `{ response, refreshToken }` object rather than a direct response. Existing `refresh` implementations are typically migrated by changing an existing return expression that looks like this:
18
+
19
+ ```ts
20
+ return await this.handleResult({
21
+ fullProfile,
22
+ params,
23
+ accessToken,
24
+ refreshToken,
25
+ });
26
+ ```
27
+
28
+ Into the following:
29
+
30
+ ```ts
31
+ return {
32
+ response: await this.handleResult({
33
+ fullProfile,
34
+ params,
35
+ accessToken,
36
+ }),
37
+ refreshToken,
38
+ };
39
+ ```
40
+
41
+ ### Patch Changes
42
+
43
+ - f0f81f6cc7: Replaces the usage of `got` with `node-fetch` in the `getUserPhoto` method of the Microsoft provider
44
+ - 2f26120a36: Update `auth0` and `onelogin` providers to allow for `authHandler` and `signIn.resolver` configuration.
45
+ - a9abafa9df: Fixed bug on refresh token on Okta provider, now it gets the refresh token and it sends it into providerInfo
46
+ - eb48e78886: Enforce cookie SSL protection when in production for auth-backend sessions
47
+ - Updated dependencies
48
+ - @backstage/test-utils@0.2.1
49
+ - @backstage/backend-common@0.10.1
50
+
51
+ ## 0.5.2
52
+
53
+ ### Patch Changes
54
+
55
+ - 24a67e3e2e: Fixed the fallback identity population to correctly generate an entity reference for `userEntityRef` if no token is provided.
56
+ - Updated dependencies
57
+ - @backstage/backend-common@0.10.0
58
+ - @backstage/test-utils@0.2.0
59
+ - @backstage/catalog-client@0.5.3
60
+
61
+ ## 0.5.1
62
+
63
+ ### Patch Changes
64
+
65
+ - 699c2e9ddc: export minimal typescript types for OIDC provider
66
+ - Updated dependencies
67
+ - @backstage/backend-common@0.9.14
68
+ - @backstage/catalog-model@0.9.8
69
+
3
70
  ## 0.5.0
4
71
 
5
72
  ### Minor Changes