Tweak for custom Login, Registration and Email Verification in Laravel 10
1. If your Email Verification Link is generating a http instead of https URL then, add the following line in app/Providers/AppServiceProvider.php file.public function boot(): void
{
URL::forceScheme(‘https’);
}
2. If you are using https protocol to reverse proxy or load balancer then, edit the following line in app/Http/Middleware/TrustProxies.php file.protected $proxies = ‘*’;