diff --git a/plugins/auth-node/api-report.md b/plugins/auth-node/api-report.md index f7fdd6369b..c577ccb353 100644 --- a/plugins/auth-node/api-report.md +++ b/plugins/auth-node/api-report.md @@ -30,9 +30,12 @@ export function getBearerTokenFromAuthorizationHeader( // @public export class IdentityClient { authenticate(token: string | undefined): Promise; - static create(options: { - discovery: PluginEndpointDiscovery; - issuer: string; - }): IdentityClient; + static create( + options: { + discovery: PluginEndpointDiscovery; + issuer: string; + }, + cooldownMs?: number, + ): IdentityClient; } ``` diff --git a/plugins/auth-node/src/IdentityClient.ts b/plugins/auth-node/src/IdentityClient.ts index 560b3b6373..a98330fc71 100644 --- a/plugins/auth-node/src/IdentityClient.ts +++ b/plugins/auth-node/src/IdentityClient.ts @@ -98,7 +98,6 @@ export class IdentityClient { } const user: BackstageIdentityResponse = { - id: decoded.payload.sub, token, identity: { type: 'user',