Support the ongoing development of →
Authentication Security Views
Last updated 2 years ago.

adrielpdeguzman said:

I've been having this dilemma when working with Laravel Passport and VueJS 2 for SPA. I have my backeend in place with my front-end on the same project. I've come to the point where I need to implement the authentication. During my back-end development, I've been using the Password Grant (of Passport) for the API. Everything works as intended.

How did you implement passport for login and register for spa ? I want to do the same with my project but I have no clue. my spa is angular js and I've already set up passport installation on my project, but i have no clue how to use it for login and registration (creating token and pass it to the spa)

I'd appreciate your help.

Last updated 7 years ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.