The JSON Web Token (JWT) Single Sign-on (SSO) plugins are designed to work in a pair and enable authentication in Joget using a JSON Web Token payload to allow users to single sign-on (SSO) to Joget using another Joget as the Identity Provider (IdP).
The solution comes in 2 types of plugins and 1 Joget application.
You can find the plugin's source code at:
GitHub: JWT SSO Directory Manager
GitHub: JWT SSO Web Service (including the Joget application)
This plugin is compatible with Joget DX 8.
You should have at least 2 Joget environments/instances installed and running.
You can download the JWT SSO Directory Manager and JWT SSO Web Service plugin from
JogetOSS Github Repository (Directory Manager) and JogetOSS Github Repository (Web Service).
Import the "APP_jwtsso.jwa" app, and publish the app.
|
Install "the jwt-sso-directory-manager-8.0-SNAPSHOT.jar" plugin.
Go to Directory Manager Settings, and select the JWT SSO Directory Manager plugin.
Copy the Callback URL shown in the Plugin Configuration screen.
Launch the JWT SSO App in the Joget acting as the IdP, go to Manage Clients > New, fill in a unique Client ID, and paste the Callback URL from Step 3 in the Callback URL field and click Save.
Go back to Manage Client and click on Edit on the client that you have just added, copy the Server URL, Client ID, and Public Key under the Client Config section.
To set up more user security settings, such as password policies and Multi-Factor Authentication (MFA), in Joget acting as the Identity Provider (IdP), go to Directory Manager Settings, and select the Security Enhanced Directory Manager plugin.
Download the demo app and plugins for JSON Web Token (JWT) Single Sign-On (SSO) plugin:
APP_kb-dx8_JSONWebTokenSingleSign-On.jwa