这个项目是学习和研究OpenID Connect协议,使用NodeJS实现一个OAuth2.0的Client。
- 服务器运行 node index.js 监听80端口
- 客户端配置www.example.com指向服务器地址
- 浏览器打开http://www.example.com/
Authentication Server采用Google https://developers.google.com/identity/protocols/oauth2/openid-connect
微软文档 https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow