From 30f404a37560e079d429281d8e53e7d84da9707c Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Thu, 27 Mar 2025 19:29:15 +0700 Subject: [PATCH] Fix typo Signed-off-by: Tran Ngoc Nhan --- docs/modules/ROOT/pages/migration/oauth2.adoc | 2 +- .../pages/reactive/oauth2/resource-server/opaque-token.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/migration/oauth2.adoc b/docs/modules/ROOT/pages/migration/oauth2.adoc index ecca47d04f7..1c3b9b43e28 100644 --- a/docs/modules/ROOT/pages/migration/oauth2.adoc +++ b/docs/modules/ROOT/pages/migration/oauth2.adoc @@ -2,7 +2,7 @@ == Validate `typ` Header with `JwtTypeValidator` -`NimbusJwtDecoder` in Spring Security 7 will move `typ` header validation to `JwtTypeValidator` intsead of relying on Nimbus. +`NimbusJwtDecoder` in Spring Security 7 will move `typ` header validation to `JwtTypeValidator` instead of relying on Nimbus. This brings it in line with `NimbusJwtDecoder` validating claims instead of relying on Nimbus to validate them. If you are changing Nimbus's default type validation in a `jwtProcessorCustomizer` method, then you should move that to `JwtTypeValidator` or an implementation of `OAuth2TokenValidator` of your own. diff --git a/docs/modules/ROOT/pages/reactive/oauth2/resource-server/opaque-token.adoc b/docs/modules/ROOT/pages/reactive/oauth2/resource-server/opaque-token.adoc index 3cbda22e309..90524aa030e 100644 --- a/docs/modules/ROOT/pages/reactive/oauth2/resource-server/opaque-token.adoc +++ b/docs/modules/ROOT/pages/reactive/oauth2/resource-server/opaque-token.adoc @@ -398,7 +398,7 @@ fun springSecurityFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain ---- ====== -This is handy when deeper configuration, such as <>or <>, is necessary. +This is handy when deeper configuration, such as <> or <>, is necessary. [[webflux-oauth2resourceserver-opaque-introspector-bean]] === Exposing a `ReactiveOpaqueTokenIntrospector` `@Bean`