Skip to main content

Connect the WordPress plugin with a Confidential client

Step-by-step: create a Confidential client in Carerix and connect your WordPress plugin with it (recommended).

From plugin version 3.4 you can connect the Carerix WordPress plugin to Carerix with a Confidential client. This is the newer, recommended connection. The classic connection with an application name and application token still works, but Carerix is phasing it out. We recommend you switch now.

Before you start

  • You need a Carerix user with access to Maintenance → Identity Access (a Carerix administrator).

  • You need admin access to your WordPress site.

  • Your plugin must be version 3.4 or higher.

Step 1: Create the Confidential client in Carerix

  1. In Carerix, go to Maintenance → Identity Access and open the Clients tab.

  2. Click New and choose Confidential.

  3. Fill in the fields as below.

Field

What to fill in

Name

Wordpress Plugin

Code

Format urn:{vendor}/{unique name}, for example urn:wordpress/yourcompanyname

Default scopes

cx5Wrapper:data:manage (only this one)

Optional scopes

Leave empty

Active

Yes

Permission matrix

Leave empty

  1. Click Save. Carerix now shows the Client ID and the Client Secret.

  2. Copy the Client Secret right away and keep it somewhere safe. You can't see it again later. If you lose it, create a new client.

  3. Copy the Client ID too. You can always find it again in the Client ID column of the Clients list.

  4. Back on the Clients tab, click OpenID Configuration. A new browser tab opens. Copy the address from the address bar. (Copying the issuer value on that page works too.) It looks like https://id-s5.carerix.io/auth/realms/yourrealm/.well-known/openid-configuration.

Step 2: Connect the plugin

  1. In WordPress, go to Carerix → Settings.

  2. Under Connection method, choose Confidential client (recommended).

  3. Paste the Client Secret, the Client ID and the OpenID Configuration URL in the matching fields.

  4. Click Save changes.

Tip: the plugin settings page already suggests a Name and Code based on your own website address. You can copy those into Carerix.

Step 3: Check the connection

Go to Carerix → Help & Diagnostics → Diagnostics. Check that:

  • Connection method shows Confidential client.

  • Connection to Carerix REST API server shows OK.

Then click Synchronize new/changed items from Carerix on the Settings page to make sure your vacancies still come in.

Troubleshooting

  • "Can not connect to your Carerix application": the OpenID Configuration URL, Client ID or Client Secret is not correct. Paste them again. The Client Secret field stays empty after saving; leave it empty to keep the stored secret.

  • Notice about a missing permission / scope: open the client in Carerix and check that urn:cx/xmlapi:data:manage is in Default scopes, and that the client is Active.

  • Want to go back? Choose Application name + token again under Connection method. Your old token settings still work.

Did this answer your question?