jcorry / vue-users

Laravel/Vue starter app with API auth and user management
3 stars 2 forks source link

Social Auth Bootstrap #4

Open matthewtrask opened 7 years ago

matthewtrask commented 7 years ago

If this is a boilerplate starter kit, it would be good to see it handle Social Auth out of the box.

jcorry commented 7 years ago

Fuck yes! Lets do it!

I am starting to think I should replace Sentinel with Passport, but I don't have any experience using role based auth (historically this has been important in my projects) with Passport. I'll have to do some research.

matthewtrask commented 7 years ago

There is a package from Spatie that handles Roles nicely.

matthewtrask commented 7 years ago

with role based, you can set scopes on the tokens you create, which is a nice gate for that stuff.

jcorry commented 7 years ago

That sounds great. Yeah, it will be necessary to handle social auth as well as credential based auth.