index.adoc 716 B

123456789101112131415
  1. [[webflux-oauth2-resource-server]]
  2. = OAuth 2.0 Resource Server
  3. Spring Security supports protecting endpoints by offering 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. Resource serves can consult this authorization server to authorize requests.
  8. [NOTE]
  9. ====
  10. A complete working example for {gh-samples-url}/reactive/webflux/java/oauth2/resource-server[JWT] is available in the {gh-samples-url}[Spring Security repository].
  11. ====