@backstage/plugin-auth-backend 0.0.0-nightly-20220704025427 → 0.0.0-nightly-20220707025354

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,6 +1,6 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
- ## 0.0.0-nightly-20220704025427
3
+ ## 0.0.0-nightly-20220707025354
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -12,17 +12,31 @@
12
12
 
13
13
  **DEPRECATION**: Deprecated `AtlassianAuthProvider` as it was unintentionally exported.
14
14
 
15
+ - fe8e025af5: Allowed post method on /refresh path
16
+
15
17
  ### Patch Changes
16
18
 
17
19
  - f2cf79d62e: Added an option for the auth backend router to select the algorithm for the JWT token signing keys
20
+ - 8e03db907a: Auth provider now also export createAuthProviderIntegration
21
+ - a70869e775: Updated dependency `msw` to `^0.43.0`.
18
22
  - 679b32172e: Updated dependency `knex` to `^2.0.0`.
19
23
  - 859346bfbb: Updated dependency `google-auth-library` to `^8.0.0`.
20
24
  - Updated dependencies
21
- - @backstage/backend-common@0.0.0-nightly-20220704025427
22
- - @backstage/catalog-model@0.0.0-nightly-20220704025427
23
- - @backstage/errors@0.0.0-nightly-20220704025427
24
- - @backstage/catalog-client@0.0.0-nightly-20220704025427
25
- - @backstage/plugin-auth-node@0.0.0-nightly-20220704025427
25
+ - @backstage/backend-common@0.0.0-nightly-20220707025354
26
+ - @backstage/catalog-model@0.0.0-nightly-20220707025354
27
+ - @backstage/catalog-client@0.0.0-nightly-20220707025354
28
+ - @backstage/plugin-auth-node@0.0.0-nightly-20220707025354
29
+ - @backstage/errors@0.0.0-nightly-20220707025354
30
+
31
+ ## 0.15.0-next.2
32
+
33
+ ### Patch Changes
34
+
35
+ - 8e03db907a: Auth provider now also export createAuthProviderIntegration
36
+ - 679b32172e: Updated dependency `knex` to `^2.0.0`.
37
+ - Updated dependencies
38
+ - @backstage/catalog-model@1.1.0-next.2
39
+ - @backstage/backend-common@0.14.1-next.2
26
40
 
27
41
  ## 0.15.0-next.1
28
42
 
package/dist/index.cjs.js CHANGED
@@ -2724,6 +2724,7 @@ async function createRouter(options) {
2724
2724
  }
2725
2725
  if (provider.refresh) {
2726
2726
  r.get("/refresh", provider.refresh.bind(provider));
2727
+ r.post("/refresh", provider.refresh.bind(provider));
2727
2728
  }
2728
2729
  router.use(`/${providerId}`, r);
2729
2730
  } catch (e) {
@@ -2770,6 +2771,7 @@ exports.AtlassianAuthProvider = AtlassianAuthProvider;
2770
2771
  exports.CatalogIdentityClient = CatalogIdentityClient;
2771
2772
  exports.OAuthAdapter = OAuthAdapter;
2772
2773
  exports.OAuthEnvironmentHandler = OAuthEnvironmentHandler;
2774
+ exports.createAuthProviderIntegration = createAuthProviderIntegration;
2773
2775
  exports.createOriginFilter = createOriginFilter;
2774
2776
  exports.createRouter = createRouter;
2775
2777
  exports.defaultAuthProviderFactories = defaultAuthProviderFactories;