Adding an External Authentication System (OpenID)
R-COM Gateway supports integration with OpenID Connect (OIDC) providers to enable secure Single Sign-On (SSO) and centralized identity management. This guide walks you through configuring an OpenID-based authentication system using the Admin Console.
Where to Beginโ
From the Gateway Dashboard go to:
Administration > System Config > Auth Systems
Add new auth system
-
Select Create Auth System.
-
You will be redirected to the Create Auth System page.
-
Under Name, provide a display name for your auth system.
-
In the Auth Type field, select OpenID.
The 3.9 creation form currently offers OpenID. Existing entries of other types, such as LDAP, may still appear in the Auth Systems list, but they cannot be selected when creating a new Auth System.
Auth System Configurationโ
Once navigated to the form, fill in the following fields.
Add basic authentication info
Auth System Informationโ
| Field | Description |
|---|---|
| Name | A unique display name for the authentication system (e.g., AzureAD_SSO). |
| Auth Type | Set to OpenID. |
| Auth Endpoint | Authorization URL from the provider (see below). |
| Default Group | Select the default R-COM Gateway Group for authenticated users (e.g., Admins). |
๐ AUTHENTICATION ENDPOINT:
Must include the tenant-specific authorization URL. For Azure:
https://login.microsoftonline.com/<TENANT_ID>/oauth2/v2.0/authorize
OpenID Connect Settingsโ
Add authentication parameters
| Field | Description |
|---|---|
| Client ID | Unique identifier for the registered application in your identity provider. |
| OAuth response type | Type of OAuth2 response expected (e.g., code for authorization code flow). |
| OAuth response mode | Method used to return the authorization response (e.g., query, form_post). |
| Redirect URI | Must exactly match one of the URIs registered in the OpenID provider's app. |
| Scope | List of requested claims (e.g., openid profile email). |
| State* | Required. Protects against CSRF attacks or maintains request context. |
| Tenant ID | Identifier for your identity provider tenant (e.g., Azure AD Directory ID). |
| Client Secret | Secret key associated with the Client ID (used for token exchange). |
| Identity provider base URL | Base URL of the identity platform (e.g., https://login.example.com/). |
External Role Mappingโ
Map user roles and access groups
Auth System Roles
Define mappings between external user roles and R-COM Gateway roles.
| Field | Example |
|---|---|
| External role name | External_Admins |
| Gateway role | Super_Master_All |
Use Add Role Mapping to define more.
External Group Mappingโ
You may also map specific external groups to internal R-COM Gateway access groups.
| Field | Example |
|---|---|
| External role name | Wave1Users |
| Gateway access group | Maps |
Use Add Group Mapping to map more groups.
Save and Activateโ
-
Select Save to save the configuration.
-
Your new OpenID Auth System will appear in the Auth Systems list.
R-COM Gateway will now delegate login to this identity provider.
Auth system in action
Validation & Best Practicesโ
-
๐ Always use HTTPS in all Redirect URIs and Instance URLs.
-
๐งช Ensure the client app is properly registered in your OpenID provider.
-
โ Confirm the redirect URI is exactly matched in the provider configuration.
-
๐ฅ Carefully map roles and groups to avoid unauthorized access.
Exampleโ
| Field | Example Value |
|---|---|
| Auth Endpoint | https://login.example.com/<TENANT_ID>/oauth2/v2.0/authorize |
| Client ID | xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| Client Secret | *************** |
| Scope | openid profile email |
| Response Type | code |
| Response Mode | query |
| Redirect URI | https://your-gateway.example.com/RCOMUI/ |
| State | customStateValue |
| Tenant ID | <TENANT_ID> |
| Identity provider base URL | https://login.example.com/ |
| Default R-COM Gateway Group | Admin |
| Mapped Role | External Role: Example_Admins โ R-COM Gateway Role: Super_Master_All |
| Mapped Group | External Group: Example_Group_1 โ R-COM Gateway Group: 00_Live_Wave1 |




