@backstage/plugin-auth-backend 0.22.5-next.1 → 0.22.5-next.2

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,16 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
+ ## 0.22.5-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 4a0577e: fix: Move config declarations to appropriate auth backend modules
8
+ - Updated dependencies
9
+ - @backstage/plugin-catalog-node@1.12.0-next.2
10
+ - @backstage/backend-common@0.22.0-next.2
11
+ - @backstage/plugin-auth-backend-module-aws-alb-provider@0.1.10-next.2
12
+ - @backstage/plugin-auth-backend-module-github-provider@0.1.15-next.2
13
+
3
14
  ## 0.22.5-next.1
4
15
 
5
16
  ### Patch Changes
package/config.d.ts CHANGED
@@ -89,29 +89,6 @@ export interface Config {
89
89
  * @additionalProperties true
90
90
  */
91
91
  providers?: {
92
- /** @visibility frontend */
93
- google?: {
94
- [authEnv: string]: {
95
- clientId: string;
96
- /**
97
- * @visibility secret
98
- */
99
- clientSecret: string;
100
- callbackUrl?: string;
101
- };
102
- };
103
- /** @visibility frontend */
104
- github?: {
105
- [authEnv: string]: {
106
- clientId: string;
107
- /**
108
- * @visibility secret
109
- */
110
- clientSecret: string;
111
- callbackUrl?: string;
112
- enterpriseInstanceUrl?: string;
113
- };
114
- };
115
92
  /** @visibility frontend */
116
93
  saml?: {
117
94
  entryPoint: string;
@@ -137,20 +114,6 @@ export interface Config {
137
114
  acceptedClockSkewMs?: number;
138
115
  };
139
116
  /** @visibility frontend */
140
- oauth2?: {
141
- [authEnv: string]: {
142
- clientId: string;
143
- /**
144
- * @visibility secret
145
- */
146
- clientSecret: string;
147
- authorizationUrl: string;
148
- tokenUrl: string;
149
- scope?: string;
150
- disableRefresh?: boolean;
151
- };
152
- };
153
- /** @visibility frontend */
154
117
  auth0?: {
155
118
  [authEnv: string]: {
156
119
  clientId: string;
@@ -177,11 +140,6 @@ export interface Config {
177
140
  callbackUrl?: string;
178
141
  };
179
142
  };
180
- /** @visibility frontend */
181
- awsalb?: {
182
- iss?: string;
183
- region: string;
184
- };
185
143
  /**
186
144
  * The backstage token expiration.
187
145
  */
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { LoggerService, AuthService, HttpAuthService, DiscoveryService } from '@
3
3
  import express from 'express';
4
4
  import * as _backstage_plugin_auth_node from '@backstage/plugin-auth-node';
5
5
  import { TokenParams as TokenParams$1, AuthProviderFactory as AuthProviderFactory$1, AuthOwnershipResolver, ProfileInfo as ProfileInfo$1, BackstageSignInResult, OAuthState as OAuthState$1, AuthResolverCatalogUserQuery as AuthResolverCatalogUserQuery$1, AuthResolverContext as AuthResolverContext$1, CookieConfigurer as CookieConfigurer$1, AuthProviderConfig as AuthProviderConfig$1, AuthProviderRouteHandlers as AuthProviderRouteHandlers$1, ClientAuthResponse, SignInInfo as SignInInfo$1, SignInResolver as SignInResolver$1, OAuthEnvironmentHandler as OAuthEnvironmentHandler$1, decodeOAuthState, encodeOAuthState, prepareBackstageIdentityResponse as prepareBackstageIdentityResponse$1, WebMessageResponse as WebMessageResponse$1 } from '@backstage/plugin-auth-node';
6
+ import * as _backstage_backend_common from '@backstage/backend-common';
6
7
  import { PluginDatabaseManager, PluginEndpointDiscovery, TokenManager } from '@backstage/backend-common';
7
8
  import { CatalogApi } from '@backstage/catalog-client';
8
9
  import { Config } from '@backstage/config';
@@ -600,7 +601,7 @@ declare const providers: Readonly<{
600
601
  signIn: {
601
602
  resolver: _backstage_plugin_auth_node.SignInResolver<CloudflareAccessResult>;
602
603
  };
603
- cache?: _backstage_backend_plugin_api.CacheService | undefined;
604
+ cache?: _backstage_backend_common.CacheClient | undefined;
604
605
  }) => AuthProviderFactory$1;
605
606
  resolvers: Readonly<typeof _backstage_plugin_auth_backend_module_cloudflare_access_provider.cloudflareAccessSignInResolvers>;
606
607
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend",
3
- "version": "0.22.5-next.1",
3
+ "version": "0.22.5-next.2",
4
4
  "description": "A Backstage backend plugin that handles authentication",
5
5
  "backstage": {
6
6
  "role": "backend-plugin"
@@ -37,19 +37,19 @@
37
37
  "test": "backstage-cli package test"
38
38
  },
39
39
  "dependencies": {
40
- "@backstage/backend-common": "^0.22.0-next.1",
40
+ "@backstage/backend-common": "^0.22.0-next.2",
41
41
  "@backstage/backend-plugin-api": "^0.6.18-next.1",
42
42
  "@backstage/catalog-client": "^1.6.5-next.0",
43
43
  "@backstage/catalog-model": "^1.5.0-next.0",
44
44
  "@backstage/config": "^1.2.0",
45
45
  "@backstage/errors": "^1.2.4",
46
46
  "@backstage/plugin-auth-backend-module-atlassian-provider": "^0.1.10-next.1",
47
- "@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.1.10-next.1",
47
+ "@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.1.10-next.2",
48
48
  "@backstage/plugin-auth-backend-module-azure-easyauth-provider": "^0.1.1-next.1",
49
49
  "@backstage/plugin-auth-backend-module-bitbucket-provider": "^0.1.1-next.1",
50
50
  "@backstage/plugin-auth-backend-module-cloudflare-access-provider": "^0.1.1-next.1",
51
51
  "@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.2.13-next.1",
52
- "@backstage/plugin-auth-backend-module-github-provider": "^0.1.15-next.1",
52
+ "@backstage/plugin-auth-backend-module-github-provider": "^0.1.15-next.2",
53
53
  "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.1.15-next.1",
54
54
  "@backstage/plugin-auth-backend-module-google-provider": "^0.1.15-next.1",
55
55
  "@backstage/plugin-auth-backend-module-microsoft-provider": "^0.1.13-next.1",
@@ -58,7 +58,7 @@
58
58
  "@backstage/plugin-auth-backend-module-oidc-provider": "^0.1.9-next.1",
59
59
  "@backstage/plugin-auth-backend-module-okta-provider": "^0.0.11-next.1",
60
60
  "@backstage/plugin-auth-node": "^0.4.13-next.1",
61
- "@backstage/plugin-catalog-node": "^1.11.2-next.1",
61
+ "@backstage/plugin-catalog-node": "^1.12.0-next.2",
62
62
  "@backstage/types": "^1.1.1",
63
63
  "@google-cloud/firestore": "^7.0.0",
64
64
  "@node-saml/passport-saml": "^4.0.4",
@@ -94,9 +94,9 @@
94
94
  "yn": "^4.0.0"
95
95
  },
96
96
  "devDependencies": {
97
- "@backstage/backend-defaults": "^0.2.18-next.1",
98
- "@backstage/backend-test-utils": "^0.3.8-next.1",
99
- "@backstage/cli": "^0.26.5-next.0",
97
+ "@backstage/backend-defaults": "^0.2.18-next.2",
98
+ "@backstage/backend-test-utils": "^0.3.8-next.2",
99
+ "@backstage/cli": "^0.26.5-next.1",
100
100
  "@types/body-parser": "^1.19.0",
101
101
  "@types/cookie-parser": "^1.4.2",
102
102
  "@types/express-session": "^1.17.2",