@auth0/nextjs-auth0 - v4.22.0
    Preparing search index...

    Interface PasskeyRegisterResponse

    Response from Auth0 after a signup challenge request (POST /passkey/register). authnParamsPublicKey is passed verbatim to navigator.credentials.create().

    const challenge = await auth0.passkey.register({ email: 'user@example.com', name: 'Jane' });
    const credential = await navigator.credentials.create({
    publicKey: challenge.authnParamsPublicKey
    });
    await auth0.passkey.getToken({ authSession: challenge.authSession, authResponse: credential });
    interface PasskeyRegisterResponse {
        authnParamsPublicKey: PasskeyCreationOptionsJSON;
        authSession: string;
    }
    Index

    Properties

    authnParamsPublicKey: PasskeyCreationOptionsJSON

    WebAuthn credential creation options from Auth0. Pass directly to navigator.credentials.create(). Binary fields are Base64URL-encoded strings.

    authSession: string

    Flow state token — must be echoed back in the getToken call.