Skip to content

Quick Start

Get passwordless authentication working in your application in just a few minutes.

Before you begin, make sure you have:

  1. ByteVault App - Download from App Store or Google Play
  2. API Credentials - Get your API key from the Developer Portal
  3. Registered Domain - Register your domain to receive authentication webhooks
Terminal window
composer require bytefederal/byteauth-laravel
Terminal window
php artisan vendor:publish --tag=byteauth-config

Add to your .env file:

BYTEAUTH_DOMAIN_REGISTERED=yourdomain.com
BYTEAUTH_API_KEY=your_api_key_here

In routes/web.php:

use ByteFederal\ByteAuthLaravel\Controllers\WebhookController;
Route::post('/webhook/registration', [WebhookController::class, 'handleRegistration']);
Route::post('/webhook/login', [WebhookController::class, 'handleLogin']);
Route::get('/api/check', [WebhookController::class, 'check']);

In your Blade template:

<livewire:byteauth-qr-login />

Full Laravel Documentation →

  1. Start your development server

    Run your application locally.

  2. Open the login page

    Navigate to your login page where the QR code is displayed.

  3. Open ByteVault

    Launch the ByteVault app on your phone.

  4. Scan the QR code

    Tap the scan button and point at the QR code.

  5. Authenticate

    Confirm with Face ID, Touch ID, or your device passcode.

  6. Done!

    You should be logged into your application.

Configure Webhooks

Set up webhook handlers for registration and login events. Webhook Guide →

Customize Components

Style the QR component to match your application’s design. Customization →

API Reference

Explore the complete API documentation. API Docs →