Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

innovacion's avatar

Email verification 403 invalid signature.

Hello, i'm working on Laravel 5.8.15 and i have the 403 invalid signature error on the email verification!

I did set the .env file

APP_ENV=production APP_URL=https://domain.co/ APP_USE_HTTPS=true

in the AppServiceProvider public function boot(UrlGenerator $url) { URL::forceScheme('https'); }

In web.php and api.php

if (App::environment('production')) {

URL::forceScheme('https');

}

In UrlGentator file:

$url = str_replace("http://","https://", $url);

and in the TrustProxies file protected $proxies = '*';

but I still getting the same error (403 | Invalid signature.) on the email verification! someone can helpme ?

0 likes
2 replies
innovacion's avatar

Hello NAKOV.

thnk u 4 u reply, but i'm using apache :/ . y will try to simulate the same configuration, thnks !

Please or to participate in this conversation.