@@ -246,8 +246,6 @@ export class OAuthAdapter implements AuthProviderRouteHandlers {
|
||||
claims: { sub: identity.id },
|
||||
});
|
||||
|
||||
console.log(token);
|
||||
|
||||
return decorateWithIdentity({ ...identity, token });
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user