Using devdojo auth for API's
Hi I'm trying out devdojo auth, and it works great out of the box. However, my use case is an application with laravel as pure api backend and 3 separate Vue applications that will need authentication and authorization. I've tried setting it up using fortify, but it's not easy if you also want 2FA and maybe social login (although that is not strictly needed). The docs mostly approach this as a frontend that will at least be hydrated in the backend and/or will generate (parts of) the frontend.
Reading about devdojo auth I can't find anything on using it for API authentication. Can anyone tell me if it's possible, or should I best go for standard Laravel solutions like fortify, sanctum, passport and socialite?
Hey 👋
Using the DevDojo Auth with Laravel for API authentication can be a bit tricky since its primary design is for web applications with built-in frontend components.
Feel free to open a feature request on the Auth GitHub repository providing as much information as possible. Or alternatively, feel free to submit a PR adding that functionality as well.
- Bobby