We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02fb7ad commit db8807eCopy full SHA for db8807e
packages/apps/src/app.ts
@@ -263,7 +263,7 @@ export class App<TPlugin extends IPlugin = IPlugin> {
263
const tenantId = this.options.tenantId ?? process.env.TENANT_ID;
264
const clientSecret = this.options.clientSecret ?? process.env.CLIENT_SECRET;
265
const token = this.options.token;
266
- const managedIdentityClientId = this.options.managedIdentityClientId ?? (process.env.MANAGED_IDENTITY_CLIENT_ID as 'system' | (string & {}) | undefined);
+ const managedIdentityClientId = this.options.managedIdentityClientId ?? (process.env.MANAGED_IDENTITY_CLIENT_ID as AppOptions<TPlugin>['managedIdentityClientId']);
267
268
if (clientId && clientSecret) {
269
this.log.debug('Using Client Credentials auth');
0 commit comments