Support the ongoing development of Laravel.io →
Authentication Security Views
Last updated 1 year ago.
0

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.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.