# sso

http://localhost:4040/sso1/      

http://localhost:4040/sso1/login

http://localhost:3000/oauth/authorize?client_id=pig&redirect_uri=http://localhost:4040/sso1/login&response_type=code&scope=server&state=bns1LN

http://localhost:4040/sso1/login?code=55Nrjm&state=bns1LN

http://localhost:4040/sso1/

==========
http://localhost:4040/sso1/

http://localhost:3000/oauth/authorize?redirect_uri=http://localhost:4040/sso1/login&response_type=code&scope=server&state=bns1LN

http://localhost:4040/sso1/login&response_type=code&scope=server&state=bns1LN

http://localhost:4040/sso1

# 方案

统一认证:只需请求一次

独立认证:在各个服务都需求请求

# 问题

优点

缺点

image-20190128021214663

Last Updated: 6/10/2019, 1:48:44 PM