diff --git a/plugins/auth-backend/src/service/router.ts b/plugins/auth-backend/src/service/router.ts index ecd7f725a6..2f78f68d7d 100644 --- a/plugins/auth-backend/src/service/router.ts +++ b/plugins/auth-backend/src/service/router.ts @@ -44,6 +44,14 @@ export interface RouterOptions { config: Config; discovery: PluginEndpointDiscovery; tokenManager: TokenManager; + /** + * The algorithm to be used when signing the JWT token. + * + * @defaultValue `ES256` + * + * @remarks + * This is passed to {@link TokenFactory| the token factory}. + */ tokenKeyAlgorithm?: string; providerFactories?: ProviderFactories; }