@backstage/plugin-auth-backend 0.7.0 → 0.8.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.
package/dist/index.d.ts CHANGED
@@ -491,11 +491,12 @@ declare type Options = {
491
491
  appOrigin: string;
492
492
  tokenIssuer: TokenIssuer;
493
493
  isOriginAllowed: (origin: string) => boolean;
494
+ callbackUrl?: string;
494
495
  };
495
496
  declare class OAuthAdapter implements AuthProviderRouteHandlers {
496
497
  private readonly handlers;
497
498
  private readonly options;
498
- static fromConfig(config: AuthProviderConfig, handlers: OAuthHandlers, options: Pick<Options, 'providerId' | 'persistScopes' | 'disableRefresh' | 'tokenIssuer'>): OAuthAdapter;
499
+ static fromConfig(config: AuthProviderConfig, handlers: OAuthHandlers, options: Pick<Options, 'providerId' | 'persistScopes' | 'disableRefresh' | 'tokenIssuer' | 'callbackUrl'>): OAuthAdapter;
499
500
  constructor(handlers: OAuthHandlers, options: Options);
500
501
  start(req: express.Request, res: express.Response): Promise<void>;
501
502
  frameHandler(req: express.Request, res: express.Response): Promise<void>;
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.7.0",
4
+ "version": "0.8.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -30,7 +30,7 @@
30
30
  "clean": "backstage-cli clean"
31
31
  },
32
32
  "dependencies": {
33
- "@backstage/backend-common": "^0.10.4",
33
+ "@backstage/backend-common": "^0.10.5",
34
34
  "@backstage/catalog-client": "^0.5.5",
35
35
  "@backstage/catalog-model": "^0.9.10",
36
36
  "@backstage/config": "^0.1.13",
@@ -73,7 +73,7 @@
73
73
  "yn": "^4.0.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@backstage/cli": "^0.12.0",
76
+ "@backstage/cli": "^0.13.0",
77
77
  "@backstage/test-utils": "^0.2.3",
78
78
  "@types/body-parser": "^1.19.0",
79
79
  "@types/cookie-parser": "^1.4.2",
@@ -94,5 +94,5 @@
94
94
  "config.d.ts"
95
95
  ],
96
96
  "configSchema": "config.d.ts",
97
- "gitHead": "600d6e3c854bbfb12a0078ca6f726d1c0d1fea0b"
97
+ "gitHead": "493394603a2c47ea1d141159af9bc7bb84fac9e5"
98
98
  }