@backstage/plugin-auth-backend 0.0.0-nightly-20230908021043 → 0.0.0-nightly-20230910021151
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 +32 -14
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20230910021151
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 71114ac50e02: **BREAKING**: The export for the new backend system has been moved to be the `default` export.
|
|
8
|
+
|
|
9
|
+
For example, if you are currently importing the plugin using the following pattern:
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import { examplePlugin } from '@backstage/plugin-example-backend';
|
|
13
|
+
|
|
14
|
+
backend.add(examplePlugin);
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
It should be migrated to this:
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
backend.add(import('@backstage/plugin-example-backend'));
|
|
21
|
+
```
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
6
24
|
|
|
@@ -10,19 +28,19 @@
|
|
|
10
28
|
- 7944d43f4790: Added the ability to disable the built-in auth providers by passing `disableDefaultProviderFactories` to `createRouter`.
|
|
11
29
|
- 7944d43f4790: The algorithm used when generating Backstage tokens can be configured via `auth.identityTokenAlgorithm`.
|
|
12
30
|
- Updated dependencies
|
|
13
|
-
- @backstage/plugin-auth-backend-module-gcp-iap-provider@0.0.0-nightly-
|
|
14
|
-
- @backstage/plugin-auth-
|
|
15
|
-
- @backstage/
|
|
16
|
-
- @backstage/
|
|
17
|
-
- @backstage/
|
|
18
|
-
- @backstage/
|
|
19
|
-
- @backstage/
|
|
20
|
-
- @backstage/
|
|
21
|
-
- @backstage/
|
|
22
|
-
- @backstage/
|
|
23
|
-
- @backstage/
|
|
24
|
-
- @backstage/
|
|
25
|
-
- @backstage/plugin-catalog-node@0.0.0-nightly-
|
|
31
|
+
- @backstage/plugin-auth-backend-module-gcp-iap-provider@0.0.0-nightly-20230910021151
|
|
32
|
+
- @backstage/plugin-auth-backend-module-github-provider@0.0.0-nightly-20230910021151
|
|
33
|
+
- @backstage/plugin-auth-backend-module-gitlab-provider@0.0.0-nightly-20230910021151
|
|
34
|
+
- @backstage/plugin-auth-backend-module-google-provider@0.0.0-nightly-20230910021151
|
|
35
|
+
- @backstage/plugin-auth-node@0.0.0-nightly-20230910021151
|
|
36
|
+
- @backstage/config@0.0.0-nightly-20230910021151
|
|
37
|
+
- @backstage/catalog-client@0.0.0-nightly-20230910021151
|
|
38
|
+
- @backstage/catalog-model@0.0.0-nightly-20230910021151
|
|
39
|
+
- @backstage/errors@0.0.0-nightly-20230910021151
|
|
40
|
+
- @backstage/types@0.0.0-nightly-20230910021151
|
|
41
|
+
- @backstage/backend-common@0.0.0-nightly-20230910021151
|
|
42
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20230910021151
|
|
43
|
+
- @backstage/plugin-catalog-node@0.0.0-nightly-20230910021151
|
|
26
44
|
|
|
27
45
|
## 0.18.9-next.2
|
|
28
46
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -3573,10 +3573,10 @@ const authPlugin = backendPluginApi.createBackendPlugin({
|
|
|
3573
3573
|
exports.CatalogIdentityClient = CatalogIdentityClient;
|
|
3574
3574
|
exports.OAuthAdapter = OAuthAdapter;
|
|
3575
3575
|
exports.OAuthEnvironmentHandler = OAuthEnvironmentHandler;
|
|
3576
|
-
exports.authPlugin = authPlugin;
|
|
3577
3576
|
exports.createAuthProviderIntegration = createAuthProviderIntegration;
|
|
3578
3577
|
exports.createOriginFilter = createOriginFilter;
|
|
3579
3578
|
exports.createRouter = createRouter;
|
|
3579
|
+
exports["default"] = authPlugin;
|
|
3580
3580
|
exports.defaultAuthProviderFactories = defaultAuthProviderFactories;
|
|
3581
3581
|
exports.encodeState = encodeState;
|
|
3582
3582
|
exports.ensuresXRequestedWith = ensuresXRequestedWith;
|
package/dist/index.d.ts
CHANGED
|
@@ -844,4 +844,4 @@ declare class CatalogIdentityClient {
|
|
|
844
844
|
*/
|
|
845
845
|
declare function getDefaultOwnershipEntityRefs(entity: Entity): string[];
|
|
846
846
|
|
|
847
|
-
export { AuthHandler, AuthHandlerResult, AuthProviderConfig, AuthProviderFactory, AuthProviderRouteHandlers, AuthResolverCatalogUserQuery, AuthResolverContext, AuthResponse, AwsAlbResult, BitbucketOAuthResult, BitbucketPassportProfile, BitbucketServerOAuthResult, CatalogIdentityClient, CloudflareAccessClaims, CloudflareAccessGroup, CloudflareAccessIdentityProfile, CloudflareAccessResult, CookieConfigurer, EasyAuthResult, GcpIapResult, GcpIapTokenInfo, GithubOAuthResult, OAuth2ProxyResult, OAuthAdapter, OAuthAdapterOptions, OAuthEnvironmentHandler, OAuthHandlers, OAuthLogoutRequest, OAuthProviderInfo, OAuthProviderOptions, OAuthRefreshRequest, OAuthResponse, OAuthResult, OAuthStartRequest, OAuthStartResponse, OAuthState, OidcAuthResult, ProfileInfo, ProviderFactories, RouterOptions, SamlAuthResult, SignInInfo, SignInResolver, StateEncoder, TokenParams, WebMessageResponse,
|
|
847
|
+
export { AuthHandler, AuthHandlerResult, AuthProviderConfig, AuthProviderFactory, AuthProviderRouteHandlers, AuthResolverCatalogUserQuery, AuthResolverContext, AuthResponse, AwsAlbResult, BitbucketOAuthResult, BitbucketPassportProfile, BitbucketServerOAuthResult, CatalogIdentityClient, CloudflareAccessClaims, CloudflareAccessGroup, CloudflareAccessIdentityProfile, CloudflareAccessResult, CookieConfigurer, EasyAuthResult, GcpIapResult, GcpIapTokenInfo, GithubOAuthResult, OAuth2ProxyResult, OAuthAdapter, OAuthAdapterOptions, OAuthEnvironmentHandler, OAuthHandlers, OAuthLogoutRequest, OAuthProviderInfo, OAuthProviderOptions, OAuthRefreshRequest, OAuthResponse, OAuthResult, OAuthStartRequest, OAuthStartResponse, OAuthState, OidcAuthResult, ProfileInfo, ProviderFactories, RouterOptions, SamlAuthResult, SignInInfo, SignInResolver, StateEncoder, TokenParams, WebMessageResponse, createAuthProviderIntegration, createOriginFilter, createRouter, authPlugin as default, defaultAuthProviderFactories, encodeState, ensuresXRequestedWith, getDefaultOwnershipEntityRefs, postMessageResponse, prepareBackstageIdentityResponse, providers, readState, verifyNonce };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend",
|
|
3
3
|
"description": "A Backstage backend plugin that handles authentication",
|
|
4
|
-
"version": "0.0.0-nightly-
|
|
4
|
+
"version": "0.0.0-nightly-20230910021151",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"clean": "backstage-cli package clean"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@backstage/backend-common": "^0.0.0-nightly-
|
|
36
|
-
"@backstage/backend-plugin-api": "^0.0.0-nightly-
|
|
37
|
-
"@backstage/catalog-client": "^0.0.0-nightly-
|
|
38
|
-
"@backstage/catalog-model": "^0.0.0-nightly-
|
|
39
|
-
"@backstage/config": "^0.0.0-nightly-
|
|
40
|
-
"@backstage/errors": "^0.0.0-nightly-
|
|
41
|
-
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.0.0-nightly-
|
|
42
|
-
"@backstage/plugin-auth-backend-module-github-provider": "^0.0.0-nightly-
|
|
43
|
-
"@backstage/plugin-auth-backend-module-gitlab-provider": "^0.0.0-nightly-
|
|
44
|
-
"@backstage/plugin-auth-backend-module-google-provider": "^0.0.0-nightly-
|
|
45
|
-
"@backstage/plugin-auth-node": "^0.0.0-nightly-
|
|
46
|
-
"@backstage/plugin-catalog-node": "^0.0.0-nightly-
|
|
47
|
-
"@backstage/types": "^0.0.0-nightly-
|
|
35
|
+
"@backstage/backend-common": "^0.0.0-nightly-20230910021151",
|
|
36
|
+
"@backstage/backend-plugin-api": "^0.0.0-nightly-20230910021151",
|
|
37
|
+
"@backstage/catalog-client": "^0.0.0-nightly-20230910021151",
|
|
38
|
+
"@backstage/catalog-model": "^0.0.0-nightly-20230910021151",
|
|
39
|
+
"@backstage/config": "^0.0.0-nightly-20230910021151",
|
|
40
|
+
"@backstage/errors": "^0.0.0-nightly-20230910021151",
|
|
41
|
+
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.0.0-nightly-20230910021151",
|
|
42
|
+
"@backstage/plugin-auth-backend-module-github-provider": "^0.0.0-nightly-20230910021151",
|
|
43
|
+
"@backstage/plugin-auth-backend-module-gitlab-provider": "^0.0.0-nightly-20230910021151",
|
|
44
|
+
"@backstage/plugin-auth-backend-module-google-provider": "^0.0.0-nightly-20230910021151",
|
|
45
|
+
"@backstage/plugin-auth-node": "^0.0.0-nightly-20230910021151",
|
|
46
|
+
"@backstage/plugin-catalog-node": "^0.0.0-nightly-20230910021151",
|
|
47
|
+
"@backstage/types": "^0.0.0-nightly-20230910021151",
|
|
48
48
|
"@davidzemon/passport-okta-oauth": "^0.0.5",
|
|
49
49
|
"@google-cloud/firestore": "^6.0.0",
|
|
50
50
|
"@types/express": "^4.17.6",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"yn": "^4.0.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@backstage/backend-defaults": "^0.0.0-nightly-
|
|
87
|
-
"@backstage/backend-test-utils": "^0.0.0-nightly-
|
|
88
|
-
"@backstage/cli": "^0.0.0-nightly-
|
|
86
|
+
"@backstage/backend-defaults": "^0.0.0-nightly-20230910021151",
|
|
87
|
+
"@backstage/backend-test-utils": "^0.0.0-nightly-20230910021151",
|
|
88
|
+
"@backstage/cli": "^0.0.0-nightly-20230910021151",
|
|
89
89
|
"@types/body-parser": "^1.19.0",
|
|
90
90
|
"@types/cookie-parser": "^1.4.2",
|
|
91
91
|
"@types/express-session": "^1.17.2",
|