1. What you'll do
In this guide, you'll learn how to:
- Create and manage M2M clients for your application.
- Discover available provider applications in the OXU ecosystem.
- Select the scopes your application needs from other providers.
- Configure client credentials for secure API communication.
- Manage, update, or disconnect existing provider connections.
- Set up multiple M2M clients to separate credentials across integrations.
2. Why it matters
Applications often need to access data or services provided by other applications.
With Ecosystem Connection, your application can consume APIs exposed by other applications through OAuth 2.0 scopes and M2M authentication.
By configuring M2M connections, you can:
- Connect applications securely: Authenticate application-to-application requests without requiring interactive user sign-in.
- Request specific API capabilities: Select only the scopes your application needs from each provider.
- Manage credentials centrally: Use M2M clients to manage authentication credentials for backend integrations.
- Support multiple providers: Connect a single M2M client to multiple provider applications.
- Isolate integrations: Create separate M2M clients when you need independent credentials for different services or environments.
Important: Connecting to a provider configures the scopes your client is permitted to request. Your application must still obtain a valid access token and use it when calling the provider's APIs.
3. How M2M connections work
In OXU Ecosystem Connection, applications can act as API Consumers or API Providers.
- API Consumer: The application requesting access to another application's APIs.
- API Provider: The application exposing APIs and scopes that other applications can consume.
- M2M Client: The credentials used by the consumer application to authenticate when requesting access tokens.
- Scope: A defined API capability that the consumer can request.
Example: Helpdesk integration
Suppose your application needs to retrieve and manage tickets from Helpdesk Pro.
Helpdesk Pro exposes two scopes:
| Scope | Description |
|---|---|
helpdesk-api/tickets.read | Read helpdesk tickets. |
helpdesk-api/tickets.write | Create and update helpdesk tickets. |
Your application can configure an M2M client and connect to Helpdesk Pro using one or both scopes.
Once the connection is configured, your backend can request an access token with the authorized scopes and use that token to call Helpdesk Pro's APIs.
Multiple provider connections
Each M2M client has its own credentials and can connect to multiple providers.
For example:
| M2M Client | Provider | Purpose |
|---|---|---|
| Backend integrations | Helpdesk Pro | Read and manage tickets. |
| Backend integrations | OXU Drive | Access document services. |
| Reporting integrations | Reporting App | Retrieve reporting data. |
You can reuse an M2M client for multiple connections or create separate clients to isolate credentials.
4. Before you begin
Make sure you have:
- An active OXU account.
- Permission to manage applications in OXU Developer.
- An existing OXU application.
- A backend service capable of securely storing client credentials and making API requests.
- An understanding of which provider APIs and scopes your application needs.
The provider application must expose scopes that your application is eligible to discover and connect to.
Note: The availability of provider scopes depends on their visibility settings. Internal scopes are intended for eligible applications within the provider's organization, while OXU Ecosystem scopes can be discovered by eligible applications across organizations.
5. Steps
Consuming scopes from another application involves five main steps:
- Open Connection: Access your application's M2M client management.
- Create or select an M2M client: Choose the credentials your application will use.
- Connect to a provider: Find a provider application and select the required scopes.
- Configure your backend: Use the M2M client's credentials to request access tokens.
- Manage connections: Update scopes, add providers, or disconnect when access is no longer needed.
6. How to?
Step 1. Open Ecosystem Connection
- Sign in to OXU Developer.
- Navigate to App management.
- Select the application you want to configure.
- Expand Ecosystem connection in the left sidebar.
- Select Connection.
The Connection page displays your application's M2M clients.
Each client includes:
| Field | Description |
|---|---|
| Client name | Name used to identify the M2M client. |
| Client ID | Unique identifier for the client. |
| Description | Purpose of the M2M client. |
| Provider connections | Number of provider applications connected to the client. |
| Action | Opens the client configuration. |
If an M2M client already exists, click Manage to continue.
Otherwise, create a new client.
Step 2. Create an M2M client
To create a dedicated M2M client:
- On the Connection page, click Add M2M client.
- Complete the Create M2M client form.
| Field | Required | Description |
|---|---|---|
| Client name | Yes | A recognizable name describing the purpose of the client. |
| Description | No | Additional information about the integrations this client supports. |
Example:
- Client name:
Backend integrations - Description:
Used for core business integrations (helpdesk, drive, CRM).
- Click Create.
Once created, the client appears in the M2M clients list.
Each M2M client has its own credentials and can connect to one or more provider applications.
Tip: Create separate M2M clients when you need to isolate credentials or manage different groups of provider connections independently.
Step 3. Review M2M client credentials
- Find your M2M client on the Connection page.
- Click Manage.
- Open the client's details page.
The Client credentials section displays:
| Credential | Description |
|---|---|
| Client ID | Identifies your M2M client when requesting access tokens. |
| Client Secret | Confidential credential used to authenticate the client. |
You can copy the Client ID and reveal or copy the Client Secret using the available controls.
Important:
- Keep your Client Secret confidential.
- Store credentials securely on your backend.
- Never expose your Client Secret in frontend code or public repositories.
- Avoid sharing credentials between unrelated integrations when separate clients can be used.
Step 4. Configure additional client information (optional)
You can update additional information associated with your M2M client.
- On the client details page, expand Additional info.
- Review or update the available fields.
Description
Describe the purpose of the client and the integrations it supports.
Example:
Used for core business integrations (helpdesk, drive, CRM).
Allowed scopes
Update these settings only when required by your application.
IP allowlisting
IP allowlisting adds an extra layer of security by restricting which IP addresses can request access tokens using your M2M client's credentials.
To configure IP allowlisting
- Open your M2M client's Client details page.
- Expand Additional info and enable IP allowlisting.
- Add trusted IP addresses or ranges using one of the supported formats:
- Exact IP:
192.168.1.10 - CIDR:
192.168.1.0/24 - Wildcard:
192.168.1.*or10.0.*.*
- Exact IP:
- Press Enter or comma to add each entry. You can edit or remove entries as needed.
- Click Save to apply your changes.
How it works:
- Enabled: Only requests from allowed IP addresses can proceed with client authentication.
- Disabled: No IP-based restrictions apply to access token requests.
Important: Ensure your backend server's outbound IP addresses are included before enabling this setting. Otherwise, your application may fail to obtain new access tokens.
IP allowlisting only restricts token requests and does not replace client authentication or scope-based authorization.
Step 5. Connect to a provider application
After creating or selecting an M2M client, you can configure connections to other applications.
- Open the M2M client's details page.
- Locate the Provider connections section.
- Find the application you want to connect to.
Use Search provider apps to locate a specific provider.
The provider list displays:
| Field | Description |
|---|---|
| Application | Name of the API Provider. |
| Description | Information about the provider application. |
| Selected scopes | Number of scopes currently selected for the connection. |
| Action | Connect, edit, or disconnect the provider. |
- Click Connect next to the provider application.
Step 6. Select the required provider scopes
After clicking Connect, OXU displays the Connect to [Provider name] panel.
This panel lists the scopes the provider has made available to your application.
For each scope, you can review:
- Scope code: The identifier used when requesting API access.
- Scope name: A human-readable description of the capability.
- Description: Details about the access provided.
Example: Connect to Helpdesk Pro
| Scope | Name | Description |
|---|---|---|
helpdesk-api/tickets.read | Read tickets | Read helpdesk tickets. |
helpdesk-api/tickets.write | Manage tickets | Create and update tickets. |
To configure the connection:
- Review the available scopes.
- Use the search field to find a specific scope if needed.
- Select the checkbox next to each required scope.
- Review the number of selected scopes.
- Click Connect.
For example, if your application only needs to retrieve tickets, select helpdesk-api/tickets.read.
If it also needs to create or update tickets, select helpdesk-api/tickets.write.
Important: Select only the scopes your application requires. Avoid requesting unnecessary API access.
Step 7. Verify the provider connection
After connecting successfully, OXU displays a confirmation message.
The provider now appears in the Provider connections table with its selected scopes.
For example:
- Application:
Helpdesk Pro - Selected scopes:
2 of 2 scopes selected - Available actions: Edit and Disconnect
You can now configure your backend service to use the M2M client's credentials when requesting access tokens for the provider.
Important: A successful connection confirms the configuration in OXU Developer. It does not verify that your backend can successfully obtain a token or call the provider's API.
Step 8. Use the M2M client in your backend
After configuring the connection, your backend application needs to authenticate with OXU Identity and request an OAuth 2.0 access token.
The general process is:
- Retrieve the M2M Client ID and Client Secret from secure storage.
- Send a token request to the OXU Identity token endpoint using the supported client credentials flow.
- Specify the required audience and authorized scopes according to the provider's configuration.
- Receive an access token from OXU Identity.
- Include the access token when calling the provider's protected API.
- Handle token expiration and authentication errors appropriately.
The provider validates the token and determines whether the requested API operation is authorized.
Refer to your application's OXU Identity configuration for the correct token endpoint and authentication parameters.
7. Manage existing provider connections
After establishing a connection, you can update or remove it from the M2M client details page.
Edit a provider connection
Use this option when your application needs to change its access to a provider.
- Navigate to Ecosystem connection → Connection.
- Open the M2M client using Manage.
- Find the provider under Provider connections.
- Click Edit.
- Review the available scopes.
- Select or deselect the scopes your application requires.
- Save the updated connection.
The provider's selected scope count will reflect the updated configuration.
Important: Removing a scope from an existing connection may affect API operations that depend on it.
Disconnect from a provider
Use this option when your application no longer needs access to the provider's APIs.
- Navigate to the M2M client's Provider connections.
- Find the provider application.
- Click Disconnect.
- Review the confirmation dialog.
OXU displays a warning similar to:
This app will stop requesting the provider's scopes and won't receive them in future access tokens.
- Click Disconnect to confirm.
Once disconnected, the provider's scopes will no longer be included in future access tokens issued for that connection.
Important: Disconnecting does not necessarily invalidate access tokens that were issued before the disconnection. Previously issued tokens may remain valid until they expire, depending on the token validation and revocation mechanisms in use.
8. Best practices for consuming scopes
Follow the principle of least privilege
Request only the scopes required for your application's functionality.
For example, use a read-only scope when your application only needs to retrieve information.
Separate credentials when appropriate
Although one M2M client can connect to multiple providers, consider creating separate clients for:
- Independent backend services.
- Different deployment environments.
- Integrations requiring different credential management policies.
Protect client credentials
Store secrets securely and restrict access to authorized backend services.
Review connections regularly
Remove scopes and provider connections that are no longer required.
Test after making changes
When adding, removing, or changing provider scopes, verify that your backend requests the correct tokens and can still perform its intended API operations.
9. What's next?
After configuring your M2M client and provider connections, continue with:
- Expose scopes to other apps: Learn how to make your application's APIs available to other consumers.
- Manage Scopes & API Access: Understand how scopes and client authorization work.
- Test app-to-app connection: Verify access token requests and protected API calls.
Related guides:
- Ecosystem Connection Overview.
- Authentication & SSO Overview.
Your application can now request access to the selected provider scopes through its configured M2M client and use authorized access tokens to communicate with other applications in the OXU ecosystem.