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 c575fc5 commit 10057f5Copy full SHA for 10057f5
packages/apps/src/app.ts
@@ -257,7 +257,7 @@ export class App<TPlugin extends IPlugin = IPlugin> {
257
const tenantId = this.options.tenantId ?? process.env.TENANT_ID;
258
const clientSecret = this.options.clientSecret ?? process.env.CLIENT_SECRET;
259
const token = this.options.token;
260
- 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']);
261
262
if (clientId && clientSecret) {
263
this.log.debug('Using Client Credentials auth');
0 commit comments