Hello, I installed auth0 and I have few problems. One is that my rourter.php page does not work. I installed steampixel simple-php-router on my PHP8 server, it does not show any error message but also it does nothing. I can login just when I write full login.php. Can you advice me what to check to solve this problem?
Thank you
<?php
declare(strict_types=1);
// Required stuff
require_once "_inc/config.php";
use Steampixel\Route;
if ($_SERVER['HTTP_HOST'] !== '...') {
die('<p>This quickstart is configured to be run from <a href="http://...">http://...</a>.</p>');
}
Route::add('/', function() use ($sdk) {
require('profile.php');
});
Route::add('/login', function() use ($sdk) {
require('login.php');
});
Route::add('/callback', function() use ($sdk) {
require('callback.php');
});
Route::add('/logout', function() use ($sdk) {
require('logout.php');
});
Route::run();