mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 22:03:00 +00:00
fix webauthn flow, state
This commit is contained in:
@@ -45,12 +45,11 @@ export async function POST(request: NextRequest) {
|
||||
if (body) {
|
||||
const { loginName, authRequestId } = body;
|
||||
|
||||
const domain: string = request.nextUrl.hostname;
|
||||
// const domain: string = request.nextUrl.hostname;
|
||||
|
||||
return createSessionAndUpdateCookie(
|
||||
loginName,
|
||||
undefined,
|
||||
domain,
|
||||
undefined,
|
||||
authRequestId
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user