message: Allow specifying JWT token key algorithm
diff: @@ -44,6 +44,7 @@ export interface RouterOptions {
  config: Config;
  discovery: PluginEndpointDiscovery;
  tokenManager: TokenManager;
  + tokenKeyAlgorithm?: string;
  providerFactories?: ProviderFactories;
  }
  @@ -56,6 +57,7 @@ export async function createRouter(
  discovery,
  database,
  tokenManager,
  + tokenKeyAlgorithm,
  providerFactories,
  } = options;
  const router = Router();
  @@ -71,6 +73,7 @@ export async function createRouter(
  keyStore,
  keyDurationSeconds,
  logger: logger.child({ component: 'token-factory' }),
  + algorithm: tokenKeyAlgorithm,
  });
  const catalogApi = new CatalogClient({ discoveryApi: discovery });
  