Sample for webflux with token introspection and default Spring authentication (BearerTokenAuthentication) is missing.
To add such sample:
create a new sub-module under samples one
use spring-addons-webflux-introspecting-resource-server spring-boot starter
copy security configuration, controller, service, repository and tests from webmvc-jwtauthenticationtoken sample (keep default OAuth2AuthenticationFactory)
adapt Authentication instance where needed (replace JwtAuthenticationToken with BearerTokenAuthentication, and @WithMockJwtAuth with WithMockBearerTokenAuthentication
Sample for webflux with token introspection and default Spring authentication (
BearerTokenAuthentication
) is missing.To add such sample:
samples
onespring-addons-webflux-introspecting-resource-server
spring-boot starterOAuth2AuthenticationFactory
)Authentication
instance where needed (replaceJwtAuthenticationToken
withBearerTokenAuthentication
, and@WithMockJwtAuth
withWithMockBearerTokenAuthentication