|
对于最新的稳定版本,请使用 Spring Security 7.0.4! |
OAuth 2.0 登录
OAuth 2.0 登录功能允许应用程序的用户使用其在 OAuth 2.0 提供商(例如 GitHub)或 OpenID Connect 1.0 提供商(例如 Google)上已有的账户登录该应用程序。 OAuth 2.0 登录实现了两种使用场景:“使用 Google 登录”或“使用 GitHub 登录”。
|
OAuth 2.0 登录是通过使用授权码许可(Authorization Code Grant)来实现的,如OAuth 2.0 授权框架和OpenID Connect Core 1.0中所规定。 |