-
-
Notifications
You must be signed in to change notification settings - Fork 115
ngrok
Luke Walsh edited this page Dec 18, 2022
·
1 revision
ngrok is very popular and is often attempted to be used with Laravel and this package. However, there's many issues others have encountered in the past, which is why this package does not support ngrok or ngrok related issues.
Some issues you may encounter:
- Webhooks not being received
- Auth flow erroring (causing to see login page)
- Random cookie issues
Most of these issues seem to stem from http to https calls/redirects.
You can try to force HTTPS with Laravel.
Open app/Providers/AppServiceProvider.php
inside the boot method, do:
public function boot(Illuminate\Contracts\Routing\UrlGenerator $url)
{
$url->forceScheme('https');
}