How to Integrate Control Center With PingOne
Configure PingOne SSO with GridGain 8 Control Center to enforce role-based access control and validate cluster action permissions through OIDC.
Prerequisites
A GridGain 8.x Control Center installation. This guide applies to GridGain 8.x clusters.
Access to a PingOne organization and environment. This guide assumes one of the following:
You already have an existing PingOne environment
You have completed PingOne self-service registration and trial provisioning
If you do not yet have a PingOne environment, complete self-service registration first, then return to this guide.
Overview
Control Center for GridGain 8 clusters lets you use SSO providers for authorization in the system. This means a Control Center administrator can use role-based access control (RBAC) and assign specific privileges to certain users. Cluster action permissions can also be checked when the user is authorized via SSO.
This guide uses the PingOne SSO provider as an example. The setup has two independent parts, each answering a different question:
Control Center decides who may sign in and what they may do inside Control Center, such as reaching the Administration tab. This is driven by the
cc-roleattribute.The cluster decides what a signed-in user may do on the cluster when they trigger an action from Control Center, such as starting SQL or renaming the cluster. This is driven by the
gg-roleattribute, which the cluster resolves itself.
You configure PingOne to issue both attributes, then configure each half to read the one that belongs to it.
Configure PingOne
First, sign in to PingOne and pass the email verification.
After completing the verification process, proceed to create a new application. Specify the Application name and choose the OIDC Web App option.

Ping OIDC Application Create two User Attributes:
gg-roleandcc-rolewith the No validation option.
User Attributes 
User Attributes Add the
gg-roleandcc-rolemapping in the created application. Find the Attribute Mapping tab in the application and add the mapping in the Custom Attributes section.

Set the Redirect URIs parameter as
http://localhost:3000/api/v1/oauth2/login/pingand activate Refresh Token. These parameters are located on the Configuration tab.
Add URI Assign
gg-roleandcc-roleto the users. User management is carried out through the Users page.
Add role to the users Add email to the allowed scope on the Resources tab.

Add email to allowed scope
Configure Control Center Sign-in and Roles
This half lets users sign in to Control Center with their PingOne account and assigns each user a Control Center role from the cc-role attribute.
After completing the Ping configuration, set up Control Center via the application.properties file. This file should be located in the Control Center root folder.
The account.oidc.rbac.enabled attribute sets permissions towards Control Center based on a value in the cc-role attribute. The possible values are "admin", "regular", or "no-access".
All the values for the spring.security.oauth2.client.xxx parameters are defined on the Overview tab in the application.

Restart Control Center to apply the changes.
Configure Cluster Action Permissions
Control Center roles decide what a user may do inside Control Center. They say nothing about what that user may do on the cluster. Cluster actions triggered from Control Center, such as starting SQL or renaming the cluster, are authorized by the cluster itself against the gg-role attribute.
Add OpenIdAuthenticator to the cluster configuration to enable this. Three properties drive it:
userInfoUrl— the PingOne UserInfo endpoint the cluster calls to read the user's attributes. The cluster resolvesgg-rolehere and has no ID token fallback, sogg-rolemust be present in the UserInfo response.claimName— the attribute that holds the role name,gg-rolein this configuration. If you use a different name, define it as a Custom Attribute in your PingOne application.permissionsJson— maps each role name to its permissions on the cluster.
Verify Sign-in and Permissions
With both halves configured, check that each one behaves as expected for a user authenticated through PingOne: the Control Center role controls the UI, and the cluster role controls the action.
Go to Control Center and select PingOne as a way of authentication.

Sign in via Ping If the user has
cc-role=admin, then the Administration tab is visible.
Administration tab Attach a GridGain cluster with the
CompositeAuthenticatorin its configuration.Try to Rename the attached cluster.

Rename the attached cluster Select the Authenticate via ping option and click Sign In. The cluster will check the user's permissions.

Secure cluster sign in dialog If the user has the previously configured
gg-role=mycacherole, the action is prohibited and an error message is shown, as the role does not allow renaming clusters.
Error if the user does not have enough permissions
Related
Control Center configuration - Configure Control Center via the
application.propertiesfile.Authorization and permissions - GridGain 8 cluster action permissions reference.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

