Backstage, Platform Engineering, DevOps, Site Reliability Engineer, Software Architecture.
createPlugin( env: PluginEnvironment, ): Promise<Router> { return await createRouter({ logger: env.logger, config: env.config, database: env.database, discovery: env.discovery, tokenManager: env.tokenManager, providerFactories: { ...defaultAuthProviderFactories, // NOTE: Here you add the provider