initial commit

This commit is contained in:
2026-09-23 12:45:02 +07:00
parent d16f454083
commit 507fc6ccdf
235 changed files with 19587 additions and 2835 deletions
+9 -1
View File
@@ -61,8 +61,9 @@ return [
'providers' => [
'users' => [
'driver' => 'eloquent',
'driver' => 'eloquent-webauthn',
'model' => env('AUTH_MODEL', App\Models\User::class),
'password_fallback' => true,
],
// 'users' => [
@@ -71,6 +72,13 @@ return [
// ],
],
'relying_party' => [
'name' => env('WEBAUTHN_NAME', 'Ily Cattery'),
'id' => env('WEBAUTHN_ID', 'ilycats.earrinasia.com'), // Pastikan ini pas
'icon' => null,
],
/*
|--------------------------------------------------------------------------
| Resetting Passwords
+53
View File
@@ -0,0 +1,53 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Relying Party
|--------------------------------------------------------------------------
|
| We will use your application information to inform the device who is the
| relying party. While only the name is enough, you can further set the
| a custom domain as ID and even an icon image data encoded as BASE64.
|
*/
'relying_party' => [
'name' => env('WEBAUTHN_NAME', config('app.name')),
'id' => env('WEBAUTHN_ID'),
],
/*
|--------------------------------------------------------------------------
| Origins
|--------------------------------------------------------------------------
|
| By default, only your application domain is used as a valid origin for
| all ceremonies. If you are using your app as a backend for an app or
| UI you may set additional origins to check against the ceremonies.
|
| For multiple origins, separate them using comma, like `foo,bar`.
*/
'origins' => env('WEBAUTHN_ORIGINS'),
/*
|--------------------------------------------------------------------------
| Challenge configuration
|--------------------------------------------------------------------------
|
| When making challenges your application needs to push at least 16 bytes
| of randomness. Since we need to later check them, we'll also store the
| bytes for a small amount of time inside this current request session.
|
| @see https://www.w3.org/TR/webauthn-2/#sctn-cryptographic-challenges
|
*/
'challenge' => [
'bytes' => 16,
'timeout' => 60,
'key' => '_webauthn',
],
];