On this page
An example authentication action plugin. The action redirects the user to an external service and waits for it to query the action back. Then the plugin verifies with the external service that the process was completed successfully and adds some external data to the authorization parameters.
The repository consists of two parts: the code for the plugin itself and a demo Spring application capable of interacting with the plugin.