Single Sign-On (SSO) using Laravel Fortify, Laravel Passport, and Livewire with some customization.
*This website compatible with vercel enviroment.
- PHP v8.4 or above
- Nodejs v25 or above
- Google Client ID & Client Secret
- GitHub Client ID & Client Secret
- Cloudflare Turnstile Site Key & Secret Key
-
Copy
.env.exampleand rename to.env -
Generate App keys & Passport keys
php artisan key:generate && php artisan passport:keys-
Configure your App name, Database, and Mail.
-
Install all dependencies.
composer install && bun install --frozen-lockfile- Building assets.
bun run build- Run preview server.
php artisan serveTo change server host and port, put this in your .env.
SERVER_HOST=
SERVER_PORT=