index.adoc 722 B

123456789101112131415
  1. [[webflux-oauth2-resource-server]]
  2. = OAuth 2.0 Resource Server
  3. Spring Security supports protecting endpoints using two forms of OAuth 2.0 https://tools.ietf.org/html/rfc6750.html[Bearer Tokens]:
  4. * https://tools.ietf.org/html/rfc7519[JWT]
  5. * Opaque Tokens
  6. This is handy in circumstances where an application has delegated its authority management to an https://tools.ietf.org/html/rfc6749[authorization server] (for example, Okta or Ping Identity).
  7. This authorization server can be consulted by resource servers to authorize requests.
  8. [NOTE]
  9. ====
  10. A complete working example for {gh-samples-url}/reactive/webflux/java/oauth2/resource-server[*JWTs*] is available in the {gh-samples-url}[Spring Security repository].
  11. ====