Home > other >  Separation before and after the end of the project, in the use of a third party after completion of
Separation before and after the end of the project, in the use of a third party after completion of

Time:11-03



Company has A number of small applications, unified now use one of the application of the account password, code-named here A, each project is in the form of separation of front end,
Are widely used in B project, A project of the account password after logging in, have been able to get to the Personal information of A project, and then in B project also use Passport to generate their own Personal Token, front end only need to hold this Token is finished, the problem is the time to click login, the login page is to jump to the third party, and then created his own Token in the callback can't sent to the front,
Because contact light, the only side before and after a solution is found under the separation of third-party login process, this article
Try the effect is probably:
First play play window

And then obtain the project B personal TOKEN

Although can solve the problem, but I think excuse me is there a better solution, because the plan in the Google browser is no problem, but I use 360 browsers not line, and it must be in the form of a pop-up window, so is there in the form of this page to jump and front end can access to the token?



Laravel
Passport


CodePudding user response:


Redirect_uri={} redirect URI, and this he will automatically with the code to jump to your redirect page not?"

CodePudding user response:

The solution? I now is also one of the scene
  • Related