The fastest route to a server-side rendered Vue app with authentication. Using JWTAuth for Laravel and the official Nuxt auth module, we'll be up and running in no time.
I have a slight issue with getting user data back from the /me endpoint. $request->user() ( and auth()->user() ) return as null.
I have looked over the previous videos numerous times to make sure that I have everything right and yet the issue remains. Logging in and registered return a token without issue, I have tried on a second computer with no luck.
Has anyone else had this issue and resolved it?
Is there anything that should be considered when using Laravel Spark or could much of this course apply to setting up a similar scenario? Spark has its own account-group routes which are customisable, but I wonder if they could be completely recreated in nuxt to create a defined split between front end (client) and back end as you have in this series?
If you somehow get a boilerplate working with a spark, i'd love if you could shoot it my way! just scrapped a spark project for being too rigid using nuxt now ;-)
For some reason, when I click "login" with nothing in the email and password fields, although I'm not logged in, I'm redirected to the home page and then if I go back to sign in page it shows the usual errors when I click the login button.
Has anyone else had this issue or possibly know what might be causing it?
I'm also having this issue, did you find out the problem?
Its a problem with the auth module, if you can implement your own authentication logic you wont see that problem
Awesome series! I really love this one. Alex can we authenticate NUXT.js with Laravel Passport?
Awesome series!! ....out of interest, does this site use Nuxt/Laravel? or is it just laravel? or some other framework?
Yes, this new version of codecourse uses Laravel, Nuxt.js and Atomic CSS.
Ehem, since it's a new looking site, I'm going test the discussion feature
Looks like it's working 👍
No resources needed for this course.
No transcript available for Introduction right now. You can request them to be added.