webauthn::WebAuthn method auth issue_options (public)

 <instance of webauthn::WebAuthn[i]> auth issue_options \
    [ -return_url return_url ]

Defined in packages/webauthn/tcl/webauthn-procs.tcl

Issue WebAuthn assertion options for starting a passkey login ceremony. Generates a fresh state nonce and challenge, stores the pending authentication ceremony state in the configured store (keyed by state), and returns a dict containing: - state: the nonce to be echoed back to /webauthn/auth/verify - options: PublicKeyCredentialRequestOptions for navigator.credentials.get()

Switches:
-return_url (optional, defaults to "/")
Local URL to redirect to after successful login (default: "/").

Testcases:
No testcase defined.
[ show source ]
Show another procedure: