mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(core): fix google one tap validation error (#6455)
fix google one tap validation error
This commit is contained in:
parent
69208c3a8f
commit
9674d5c8f0
1 changed files with 2 additions and 1 deletions
|
@ -144,8 +144,9 @@ export default function socialVerificationRoutes<T extends ExperienceInteraction
|
|||
await socialVerificationRecord.verify(ctx, tenantContext, connectorData);
|
||||
await ctx.experienceInteraction.save();
|
||||
|
||||
// The input verificationId may be undefined if it's a Google one tap callback
|
||||
ctx.body = {
|
||||
verificationId,
|
||||
verificationId: socialVerificationRecord.id,
|
||||
};
|
||||
|
||||
return next();
|
||||
|
|
Loading…
Reference in a new issue