Starting with SMARTS 25.4.9, the OpenID Connect (OIDC) security module is included as part of the WebSwing distribution. This enables integration with Microsoft Entra ID (Azure AD) to provide Single Sign-On (SSO) authentication for SMARTS WebConsole users.
With this integration, users are redirected to Azure AD for authentication before accessing the SMARTS console through the WebSwing portal.
Smarts 25.4.9 and later releases.
Before configuring Azure AD authentication, ensure the following information is available from your Microsoft Entra ID (Azure AD) administrator:
Additionally, an Azure AD Application Registration must be created and configured to support OIDC authentication.
WebSwing is supported on all major web browsers that implement the HTML5 standard.
Engineering validation has been completed on the latest supported versions of:
The integration follows a two-level authentication model:
User → Azure AD Authentication → WebSwing Session → SMARTS Console
Azure AD validates the user credentials and, upon successful authentication, WebSwing establishes the user session and launches the SMARTS console.
Parameter | Description |
| Azure AD OIDC discovery endpoint |
| SMARTS Web Console callback URL |
| User attribute used for login mapping |
| OIDC scopes |
| Azure AD Application Client ID |
| Azure AD Application Client Secret |
{
"importDiscoveryJson": "https://login.microsoftonline.com/<Tenant-id>/v2.0/.well-known/openid-configuration",
"callbackUrl": "https://<SmartsHostname>:9443/smarts/webconsole",
"usernameAttributeName": "preferred_username",
"scopes": "openid profile email",
"trustedAudiences": "",
"forceUrlEncodeCallbackUrl": false,
"logUserAttributes": false,
"clientId": "<Client-id>",
"clientSecret": "<Client-secret>"
}After entering the required values:
The settings are automatically persisted in:
<BASEDIR>/InCharge/CONSOLE/smarts/tomcat/webswing-console/webswing/webswing-server.config
After successful configuration:
Symptom | Possible Cause |
Azure login page not displayed | Incorrect Discovery URL or Client ID |
Authentication fails | Invalid Client Secret or Azure AD configuration |
Redirect loop | Incorrect Callback URL configuration |
Console launch fails after login | WebSwing session initialization issue |
SSL certificate errors | Certificate trust configuration issue |
Component | Value |
Security Module Class | org.webswing.security.modules.openidconnect.OpenIDConnectSecurityModule |
Supported Protocols | OIDC, OAuth 2.0 |
Required Scopes | openid, profile, email |
This functionality (security module) is available starting from SMARTS 25.4.9.
WebSwing service was introduced as part of SMARTS 25.4.4.
Please note that the Azure AD integration steps are for references and any assistance with the implementation and troubleshooting the same would require to engage the Professional Solutions Engineering team.