fix(api): 🐛 prevent protocol error through proxy

This commit is contained in:
Julien Oculi 2024-06-24 16:02:53 +02:00
parent a18142277f
commit cdcffff098

View file

@ -54,7 +54,7 @@ export const handler: SessionHandlers = {
const options = await generateRegistrationOptions({ const options = await generateRegistrationOptions({
rpName: relyingParty.name, rpName: relyingParty.name,
rpID: relyingParty.id, rpID: relyingParty.origin,
userName: user.login, userName: user.login,
attestationType: 'none', attestationType: 'none',
excludeCredentials, excludeCredentials,