Closed Benoit1980 closed 3 years ago
If your forum is installed at http://mywebsite.dev/forum
how then is the redirect
starting with https://mywebsite.dev/forum
? Make sure to use http
everywhere, not https
.
Thank you for the reply.
In your documentation it says:
"Hint: When creating the OAuth client in your Laravel app, don't forget to set the redirect value to<your flarum install>/auth/passport
or you might encounter invalid_client errors."
My Flarum installation path is: https://mywebsite.dev/forum/
This is why I added the url in this way.
Daniel was referring to the use of http
vs https
in your various shared URLs, but the http
in the forum URL could be a typo and you might be in fact using HTTPS (?) the path/suffix looks fine.
An error occurred while trying to load this page
If that error is shown while on the Laravel domain, there must be a Laravel related error logged somewhere. Do you see anything in the Laravel log file or system log file?
Yes sorry this was a typo in my text, the urls are all https. No Laravel errors in the log no sorry. I think I will install Telescope tonight and see if I can get anything logged in it rather than the typical Laravel log. I will let you know asap
I have just tested the latest version of fof/passport and not experienced any issue. There is no major change between the beta 16 and Flarum 1.0 versions.
I'm closing this for now but feel free to re-open if you have additional details.
Hello,
I am unable to get the the autorization to work between Flarum and Laravel 8. Is this package working with Laravel 8?
Here is my configuration: Flarum:
Laravel:
I have installed Laravel in my public_html folder(and it is working well). I have also installed the passport feature. Flarum is installed at http://mywebsite.dev/forum
This is the request sent from the "Authorize page" on the Flarum side(login button)
The the popup keeps showing:
An error occurred while trying to load this page.
This is the client records in my laravel Database:
I really cannot work out why it ia not working.