当前位置:网站首页>API gateway verification token the role of adding a new authentication token in API gateway

API gateway verification token the role of adding a new authentication token in API gateway

2022-06-23 21:51:00 User 8715145

api The actual role of the gateway is to verify the identity of the visitors , And provide a quick channel to log in to the microservice architecture . Token It is also a form of authentication , be based on Token Characteristics , The user will automatically leave the login information after logging in to the system using the server , Facilitate the next automatic login , There is no need to repeat the input information . that api Gateway verification token Add new certification How to do it? ?

api Gateway verification token Add new certification

api Gateway verification token The process of adding a new certificate is actually very simple . User pass api When the gateway logs in to the system through authentication , The system will automatically record the user's terminal information , Including user name and password . api After the gateway passes the authentication , It will be directly communicated to the back-end server. After the back-end server performs audit and verification , A private key authentication will be performed on the logged in new customer information , To form a new Token Record . meanwhile token It will be communicated to the client again and cached locally .

Token stay api The role of gateways

I've learned before api Gateway verification token Add a new certification solution , that token stay api What is the role of the gateway ? During the whole gateway response process , api The gateway can take advantage of the token Authentication mode , Users can use their own identity to api Gateway for authorization . In this way, in the later login and access process , It will save some time , And it is helpful for the fluency of browsing information .

That's all api Gateway verification token Add knowledge about the new certification . Different gateway verification token In a different way , Therefore, when setting relevant parameters , Also refer to different systems and different software .

原网站

版权声明
本文为[User 8715145]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/12/202112211053466918.html