From fa28c5c488ce2a2b08825b03c6dbffa000dff56a Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Wed, 14 Aug 2024 16:36:44 +0200 Subject: [PATCH] Update packages/backend-defaults/src/entrypoints/auth/DefaultAuthService.ts Co-authored-by: Patrik Oldsberg Signed-off-by: Camila Belo --- .../backend-defaults/src/entrypoints/auth/DefaultAuthService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend-defaults/src/entrypoints/auth/DefaultAuthService.ts b/packages/backend-defaults/src/entrypoints/auth/DefaultAuthService.ts index 1b2077e9a8..08cfc147f8 100644 --- a/packages/backend-defaults/src/entrypoints/auth/DefaultAuthService.ts +++ b/packages/backend-defaults/src/entrypoints/auth/DefaultAuthService.ts @@ -169,7 +169,7 @@ export class DefaultAuthService implements AuthService { } // If the target plugin does not support the new auth service, fall back to using old token format this.logger.warn( - 'tokenManager is DEPRECATED, please migrate to the new auth service, see https://backstage.io/docs/tutorials/auth-service-migration for more information', + `DEPRECATION WARNING: A call to the '${targetPluginId}' plugin had to fall back to using deprecated auth via the token manager service. Please migrate all plugins to the new auth service, see https://backstage.io/docs/tutorials/auth-service-migration for more information`, ); return this.tokenManager.getToken().catch(error => { throw new ForwardedError(