Skip to content

curityio/polling-example-authenticator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polling Example Authenticator Plugin

A custom authenticator plugin for the Curity Identity Server that demonstrates how to implement a polling-based authentication flow.

Features

  • Demonstrates use of a polling mechanism in a custom authenticator

Building and Deploying the Plugin

Prerequisites

  • Java 21
  • Maven
  • Access to a Curity Identity Server installation
  • Environment variable IDSVR_HOME pointing to your Curity installation (or enter it when prompted)

Steps

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:

  1. Compile the plugin using Maven
  2. Prompt for the Curity server's installation path if IDSVR_HOME is not already set
  3. 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 Mock API Server

Start the mock backend API by following the instructions in the repo.

Additional Resources

About

A minimal authentication plugin implementing the polling mechanism

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published