vue- single sign-on

The main system (Party System Company) -> we do systems

    Front-end need to prepare a blank page or a page just to request back-end interface 

           Returns a value, such as a rear end 401 of the host system to redirect unregistered state window.location.href (belt system id, callback address)

           Log host system successfully transferred callback address front-end address stitching parameters (code) accessed via callback address? Code = ***

              End of the second access address (address correction) code taken by the distal end of the access parameters

                Take the request code to the backend interface

                    Wait state rear checkback 

                      Return 0 goto successful login

                        500 returns authentication failure to jump to the wrong page

Guess you like

Origin www.cnblogs.com/wangXinYuFarly/p/11976657.html