Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Chaeril's avatar

Session put on Sanctum

I am trying to use webauthn, using webauthn-laravel, but this problem rise when I try to save the public key as a session using $request->session()->put(WebauthnService::SESSION_PUBLICKEY_CREATION, $publicKey) which will result in session store not set on request. is there another approach to this without setting SessionStart in the kernel?. thanks

0 likes
4 replies
Chaeril's avatar

@jlrdw we want the fingerprint / face id, we using older version of the package since we are on L8. currently the package use session() which will not work, and im here asking around if i could change session for something else

Please or to participate in this conversation.