-
Couldn't load subscription status.
- Fork 2
Logout configuration
You need to define a logout endpoint using the LogoutController to handle logout.
>> Read the documentation to understand its behavior and the available options.
While getters/setters can be used to define the options, the pac4j.logout.* properties can also be used. The additional pac4j.logout.path property (optional) allows to define the path of which the logout controller is triggered (/logout by default).
The LogoutController must be defined by classpath scanning:
@ComponentScan(basePackages = "org.pac4j.springframework.web")The default internal components of the LogoutController are: SpringWebfluxSessionStore, SpringWebfluxHttpActionAdapter.INSTANCE, DefaultLogoutLogic.INSTANCE and SpringWebfluxWebContextFactory.INSTANCE.