So when I log through this little popup I log in ok but I endup seeing my website amdin panel inside that iframe. Nothing closes the iframe and redirect me to:
https://website.com/forum--->first problem.
Second problem, when I log into laravel, go to the forum and click on "Login", I get this message:
{"error":"invalid_client","error_description":"Client authentication failed","message":"Client authentication failed"}
I followed the laravel passport doc and assigned a client with this command:
https://laravel.com/docs/8.x/passport#passport-or-sanctum
php artisan passport:client --password
I made suremy client id was "1" and that the secret token was set into Flarum.
Very strage that I keep getting this message...