Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3) - Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung - Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü - Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person - Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“ - Benutzerverwaltung im Admin, Zugang vorläufig über is_admin - vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/ - PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung - VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
117 lines
3.7 KiB
PHP
117 lines
3.7 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Relying Party ID
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The relying party ID represents your application in the WebAuthn protocol.
|
|
| This is typically your domain (e.g., "example.com"). Passkeys are bound
|
|
| to this ID and can only be verified on matching domains.
|
|
|
|
|
*/
|
|
|
|
'relying_party_id' => parse_url(config('app.url'), PHP_URL_HOST),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Allowed Origins
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The origins permitted to complete WebAuthn ceremonies. Passkeys bound
|
|
| to the relying party ID above will only verify when the browser
|
|
| reports one of these origins. Defaults to your application URL.
|
|
|
|
|
*/
|
|
|
|
'allowed_origins' => [
|
|
config('app.url'),
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| User Handle Secret
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Secret used to derive a stable WebAuthn user handle from each user model.
|
|
| Set this explicitly if you rotate your application key.
|
|
|
|
|
*/
|
|
|
|
'user_handle_secret' => env('PASSKEYS_USER_HANDLE_SECRET', config('app.key')),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| WebAuthn Timeout
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The timeout in milliseconds for WebAuthn operations. This determines
|
|
| how long users have to complete passkey registration or verification.
|
|
|
|
|
*/
|
|
|
|
'timeout' => 60000,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Authentication Guard
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The authentication guard to use when logging in users with passkeys.
|
|
| This should match your application's primary authentication guard.
|
|
|
|
|
*/
|
|
|
|
'guard' => 'web',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Passkeys Routes Middleware
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may specify which middleware Passkeys will assign to the routes
|
|
| that it registers with the application. If necessary, you may change
|
|
| these middleware but typically this provided default is preferred.
|
|
|
|
|
*/
|
|
|
|
'middleware' => ['web'],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Passkeys Management Middleware
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may specify the middleware applied to passkey management routes
|
|
| that create or delete passkeys. By default, Laravel's password
|
|
| confirmation middleware is used.
|
|
|
|
|
*/
|
|
|
|
'management_middleware' => ['password.confirm'],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Passkeys Throttling
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Middleware used to throttle passkey endpoints. Set to null to disable.
|
|
|
|
|
*/
|
|
|
|
'throttle' => 'throttle:6,1',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Redirect
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The path to redirect to after successful passkey verification.
|
|
|
|
|
*/
|
|
|
|
'redirect' => '/',
|
|
|
|
];
|