A custom authenticator plugin for the Curity Identity Server that demonstrates how to implement a polling-based authentication flow.
- Demonstrates use of a polling mechanism in a custom authenticator
- Java 21
- Maven
- Access to a Curity Identity Server installation
- Environment variable
IDSVR_HOME
pointing to your Curity installation (or enter it when prompted)
To build and deploy the plugin to your Curity Identity Server:
git clone [email protected]:curityio/polling-example-authenticator.git
cd polling-example-authenticator
chmod +x ./deploy.sh
./deploy.sh
This script will:
- Compile the plugin using Maven
- Prompt for the Curity server's installation path if
IDSVR_HOME
is not already set - Copy the plugin JAR and required dependencies into the appropriate plugin directory
Once complete, restart the Curity Identity Server to load the new Polling Example authenticator.
💡 Note for Windows users:
This script requires a Unix-like shell environment (e.g., WSL, Git Bash, or Cygwin) to run. It will not work in PowerShell or Command Prompt as-is.
Start the mock backend API by following the instructions in the repo.