Package com.c4_soft.springaddons.security.oidc.starter.reactive.client
package com.c4_soft.springaddons.security.oidc.starter.reactive.client
-
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.An alternative
ReactiveOAuth2AuthorizedClientProvidertoDelegatingReactiveOAuth2AuthorizedClientProviderkeeping a different provider for each client registration.The following@ConditionalOnMissingBeansare auto-configured springAddonsClientFilterChain: aSecurityWebFilterChain.An authentication failure handler reading post-login failure URI in session (set by the frontend with a header or request param when initiating the authorization_code flow) and using aSpringAddonsOauth2ServerRedirectStrategyAn authentication success handler reading post-login success URI in session (set by the frontend with a header or request param when initiating the authorization_code flow) and using aSpringAddonsOauth2ServerRedirectStrategyA redirect strategy that might not actually redirect: the HTTP status is taken from com.c4-soft.springaddons.oidc.client.oauth2-redirect-status property.Provide with RP-Initiated Logout for authorization-servers fully compliant with OIDC standard as well as those "almost" implementing the spec.Serves three purposes: Use theSpringAddonsOidcClientProperties#client-urito set the base URI of authorization-code callback (of interest for instance when using an ingress or another gateway in front of the OAuth2 client with oauth2Login) Add the query params taken from authorization-request-params in application properties Save in session post-login URIs provided as header (SpringAddonsOidcClientProperties.POST_AUTHENTICATION_SUCCESS_URI_HEADERandSpringAddonsOidcClientProperties.POST_AUTHENTICATION_FAILURE_URI_HEADER) or request param (SpringAddonsOidcClientProperties.POST_AUTHENTICATION_SUCCESS_URI_PARAMandSpringAddonsOidcClientProperties.POST_AUTHENTICATION_FAILURE_URI_PARAM).
SpringAddonsOauth2ServerRedirectStrategy