chore: revert some of the handling

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-12-01 16:29:14 +01:00
parent b3ac79d7c2
commit 11a90d6a79
2 changed files with 1 additions and 5 deletions
@@ -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;