OAuth 2 是一种非常流行的受信任身份管理形式,它允许用户通过一个受信任的提供商来管理他们的身份。这个方便的功能为用户提供了将密码和个人信息存储在受信任的 OAuth 2 提供商处的安全性,并可以根据要求选择性地披露个人信息。此外,启用 OAuth 2 的网站让您确信提供 OAuth 2 凭据的用户就是他们所说的那个人。
在本章中,我们将介绍以下主题:
- Learning to set up your own OAuth 2 application in less than 5 minutes
- Configuring the JBCP calendar application with a very rapid implementation of OAuth 2
- Learning the conceptual architecture of OAuth 2 and how it provides your site with trustworthy user access
- Implementing OAuth 2-based user registration
- Experimenting with OAuth 2 attribute exchange for user profile functionality
- Demonstrating how we can trigger automatic authentication to the previous OAuth 2 provider
- Examining the security offered by OAuth 2-based login