We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
attestation
1 parent 05d6e8b commit d91752eCopy full SHA for d91752e
src/Services/Webauthn.php
@@ -9,6 +9,7 @@
9
use Cose\Algorithm\Manager;
10
use Cose\Algorithm\Signature;
11
use Illuminate\Contracts\Auth\Authenticatable as User;
12
+use Illuminate\Support\Arr;
13
use Illuminate\Support\Str;
14
use ParagonIE\ConstantTime\Base64UrlSafe;
15
use Psr\Log\LoggerInterface;
@@ -295,6 +296,8 @@ public function serializePublicKeyOptionsForRequest(
295
296
'challenge' => Base64UrlSafe::encodeUnpadded($options->challenge),
297
];
298
299
+ Arr::forget($data, 'attestation');
300
+
301
if ($options instanceof PublicKeyCredentialCreationOptions) {
302
$data['user'] = (array) $options->user;
303
0 commit comments