-
Notifications
You must be signed in to change notification settings - Fork 2
Callback configuration
You need to define a callback endpoint using the CallbackController
only for web applications (that is for IndirectClient
). The callback endpoint must not be protected.
>> Read the documentation to understand its behavior and the available options.
While getters/setters can be used to define the options, the pac4j.callback.*
properties can also be used. The additional pac4j.callback.path
property (optional) allows to define the URL path of which the callback controller is triggered (/callback
by default). This needs to match what you have registered with your identity provider.
The CallbackController
must be defined by class scanning:
@ComponentScan(basePackages = "org.pac4j.springframework.web")
The default internal components of the CallbackController
are: SpringWebfluxSessionStore
, SpringWebfluxHttpActionAdapter.INSTANCE
, DefaultCallbackLogic.INSTANCE
and SpringWebfluxWebContextFactory.INSTANCE
.