mercredi 7 décembre 2016

Laravel Passport for Authenticating Multiple Installations

I'm looking to recreate some internal systems using Laravel 5.3 as the internal systems need rebuilding. I am still fairly new to Laravel as we have used a bespoke framework based on PHP 4 for a few years, which is starting to show its' age. The current setup makes use of having a users table for each application, which from my knowledge is not efficient as the userbase is shared (open to all employees).

Would I be right in thinking that I can set up a Lumen application, with a database of users, and then use Laravel Passport to make it an OAuth2 server? Say for example, passport.company.com and then new users are registered via this application.

Therefore, another two applications using Laravel i.e. CRM and CMS can then use the Passport system for authentication, rather than having to create users tables for each application?

If this is on the right lines, or there are better alternatives, I would be grateful to hear your feedback.

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire