Now there is a laravel application, and then another application is added. The two applications share the laravel registration. That is, when registering the laravel application, the username and password are also written into the user table of the other application.
In this way, newly registered users can log in to both applications, but how can the original laravel user be written into the user table of another application? The encryption methods of the two applications are different.
迷茫2017-05-16 13:09:28
Write an API and call the API later to achieve password sharing. Or instead of using password sharing, you can use SSO to achieve one-click login. Of course, this also needs to implement an interface. For each separate login, user information needs to be shared across sites.