diff --git a/routes/api/webauthn/register/[step].ts b/routes/api/webauthn/register/[step].ts index b2a8ecd..7c996f1 100644 --- a/routes/api/webauthn/register/[step].ts +++ b/routes/api/webauthn/register/[step].ts @@ -54,7 +54,7 @@ export const handler: SessionHandlers = { const options = await generateRegistrationOptions({ rpName: relyingParty.name, - rpID: relyingParty.id, + rpID: relyingParty.origin, userName: user.login, attestationType: 'none', excludeCredentials,