Hi all, I am Aditya Kadam. I am an entrepreneur and coding freak who manages startups in the daytime while coding on random problems/stuff at night time. When I was pursuing my undergrad in Computer Science, I hated coding a lot, not sure why but it felt so boring. I changed my stream from CS to business by choosing a bridge course in technology and business for my Master's degree. During my MSc, I found that coding is actually interesting, weird right? but it is actually like that. A wild guess I could make is maybe I got more exposure to the practical application side of concepts I learned in undergrad. I have used C++, Java, and Python but Laravel is something that increased my interest in web development. I started this channel with the view that I could make web dev learning more fun and interesting by sharing the least theoretical and most applied (application of programming) videos. The theory is important but understanding its concepts and applying them is more important.
The docs for Sanctum say that it exists to solve two separate problems: 1. API Tokens 2. SPA Authentication I would have expected you to use the second thing. Why did you choose to use the first? Also, maybe you could make a video about the second thing and compare it to the first and talk about the pros and cons of each approach? Thanks!
Upgrade your plan to Blaze plan then add your credit card. For small projects, your Billing amount will be almost 0 If still having doubt then let me know.
It works, thanks. However there is a small problem. If I try to access the resources directly without providing the bearer token on api route, it tries to redirect to login route instead of returning unauthorized error. How do I fix it?
So my mistake, both examples (your and mine) works same, but u used some first Nuxt version, i have 3.11 and im testing both ways and they works fine correctly.
your video is interesting can you share the previous tutorial before this i need some reference to learn this rubixML your video was very helpful thanks for this!
Great video!! In case you get undefined in functions. Maybe you have installed the V2, What works for me: import { onRequest } from "firebase-functions/v2/https"; exports.api = onRequest(app);
I had to add a new header variable key: X-XSRF-TOKEN, value: {{xsrf-cookie}} I can also suggest you add key: Accept, value: application/json (so that you actually see validation errors).
I just came across this video about Nuxt and CMS while I was looking for building my own CMS in the same Nuxt project to manage site title, logo, SEO etc. While thanks for this informative content using Garchi, would you mind letting know if there is a way to manage CMS thing without third party option. Can it be managed within the same Nuxt project?
i use Laravel11 sanctum session (not token) Login and logout (endpoints) are working correctly when called from postman but when I call other api end points it gives me 401 unauthorized
where did you see this information? I don't see it in the layout documentation. Excellent video, it worked for me. I was having issues with the second layout re-rendering itself when changing pages. I don't get the thing about setting the file name to the folders name, I still don't fully understand this.