diff --git a/plugins/auth-backend/src/lib/oauth/OAuthAdapter.ts b/plugins/auth-backend/src/lib/oauth/OAuthAdapter.ts index 970fe95b55..b6c6473031 100644 --- a/plugins/auth-backend/src/lib/oauth/OAuthAdapter.ts +++ b/plugins/auth-backend/src/lib/oauth/OAuthAdapter.ts @@ -246,8 +246,6 @@ export class OAuthAdapter implements AuthProviderRouteHandlers { claims: { sub: identity.id }, }); - console.log(token); - return decorateWithIdentity({ ...identity, token }); } diff --git a/plugins/auth-backend/src/providers/google/provider.ts b/plugins/auth-backend/src/providers/google/provider.ts index 293f738dfd..d85fc2de2d 100644 --- a/plugins/auth-backend/src/providers/google/provider.ts +++ b/plugins/auth-backend/src/providers/google/provider.ts @@ -159,7 +159,7 @@ export class GoogleAuthProvider implements OAuthHandlers { }; if (this.signInResolver) { - const signInResolverResult = await this.signInResolver( + response.backstageIdentity = await this.signInResolver( { result, profile, @@ -170,8 +170,6 @@ export class GoogleAuthProvider implements OAuthHandlers { logger: this.logger, }, ); - - console.log(signInResolverResult); } return response;