jackbarham
3 years ago
91
21
Laravel

Can I use Laravel 5.3 Passport as general Auth for a SPA to Laravel API?

Posted 3 years ago by jackbarham

Today Laravel 5.3 was launched with a service called Passport. I've read through the documentation and watched the Laracast "Whats new 5.3 - Passport" video.

What I'm struggling to understand through all the bells and whistles; is this suitable to use just to login/register a user in from a SPA into a Laravel API server? I'm not interested in allowing my users to have their own API server.

There doesn't seem to be much around (probably as it's brand new) telling me about using for purely as a general auth service for an app?

Please sign in or create an account to participate in this conversation.