auth.finishPasskeyLogin

Complete login with a passkey over an unauthenticated connection, see here » for more info.

Must be sent to the user's native DC, as specified by the user_handle (dcId:userId) returned in the passkey assertion, see here » for the full flow.

 Method schema is available as of layer 219. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
credential InputPasskeyCredential Passkey assertion result.
from_dc_id flags.0?int DC ID used for the initial auth.initPasskeyLogin request; set only if the user's DC is different from the DC used for the initial auth.initPasskeyLogin.
from_auth_key_id flags.0?long Auth key ID for the connection to from_dc_id (use the permanent auth key ID if PFS is enabled); set only if the user's DC is different from the DC used for the initial auth.initPasskeyLogin.

Result

auth.Authorization

Only users can use this method

This method can be invoked over an unauthenticated connection »

Possible errors

Code Type Description
500 AUTH_RESTART Restart the authorization process.
400 CREDENTIAL_INVALID  
500 PASSKEY_AUTH_RESTART  

Related pages

auth.initPasskeyLogin

Initialize login with a passkey over an unauthenticated connection, see here » for more info.

Passkeys