I've made a project using the passport api authentication and used the frontend quickstart with vue.
When using the command
php artisan serve
The vue works just fine, but when I access my application via my ip address everything works except the passport vue. No clients or accesstokens are shown even though they clearly exist and it states something went wrong when i try to create a new client.
when i check app/storage/logs/laravel.log nothing is there.
Why does it work fine on php artisan serve but not via my external ip address?
EDIT:
As i needed this to work, i found a temporary solution until i can figure out to fix it properly. I've moved all the public folder files into the application name folder and then moved all the files from the application name folder to the exterior www folder.
This allows access to the frontend without having to write the
"APP-NAME/public"
And the passport Vue components now gets the personal-access-tokens as intended.
I still need help to proper fix this. This is just a temporary quick fix.