I'm trying to set up my custom API with Passport (well, I'm already halfway through, just need to build my authentication). Whenever I'm trying to create a personal access token from my Passport dashboard (/home route), I get a 'Whoops, something went wrong!' error.
This comes from my Vue component (PersonalAccessTokens.vue), and my console logs me a 500 internal server error at the Post route for storing personal access tokens...
\Laravel\Passport\Http\Controllers\PersonalAccessTokenController@store is the method responsible but I can't seem to find something outof the ordinary as I did exactly follow the Laracasts video about Passport
Anyone else experiencing this problem ?
TIA!
network
tab, then perform request. You should see request you've just performed. Click on it, then selectpreview
from this request's tab. This, or just look atstorage/log/laravel.log
and see stack trace :) – Skysplit