Skip to content

Applications

Overview

The Applications page is where you register and manage application clients. These clients provide the unique identifiers (Client IDs) and security credentials required for your software to interface with Mapworks identity services.

This includes:

  • Single Page Applications (SPA) — browser-based apps where users sign in interactively
  • Machine-to-Machine (M2M) — backend or service apps that authenticate without user interaction

Applications List

Single Page Applications

Designed for JavaScript-based apps (such as React, Vue, or Angular) that perform most of their logic in the browser. These apps facilitate user sign-in and use the resulting identity tokens to communicate with backend services via APIs.

To create a Single Page Application:

  1. In Mapworks UI, click Mgt Console in the bottom left

Mgt Console button

  1. Click Applications

Applications Tab in the side navigation bar

  1. Click the orange Add Application button on the right

Add Application button

  1. Select Single Page Application (SPA)

Create a Single Page Application

  1. In the Details section, enter a name.

Optionally, you can provide a description or adjust the default expiry time (in minutes) for the following token types:

  • Access Token
  • ID Token
  • Refresh Token

SPA Details Tab

  1. In the Redirect URLs section, enter the URLs where users should be sent after authentication and sign-out.

SPA Redirect URLs Tab

  1. In the Allowed Scopes section, use the drop-down menu to select the permissions the application is authorised to request.

📄 Note

This list includes native Mapworks scopes as well as any scopes configured for external resource servers. Only the scopes selected here will be available to the application during the OAuth flow.

SPA Allowed Scopes Tab

SPA Allowed Scopes Expanded

  1. Once the application is created, select it from the list to view its details. In the General Tab, copy the Client ID. You will need this unique identifier to configure the authentication provider in your application.

Machine-to-Machine

Designed for non-interactive, backend applications that do not require user intervention. Common examples include command-line tools (CLIs), daemons, IoT devices, or internal services running on your server.

To create a Machine-to-Machine Application:

  1. In Mapworks UI, click Mgt Console in the bottom left

Mgt Console button

  1. Click Applications

Applications Tab in the side navigation bar

  1. Click the orange Add Application button on the right

Add Application button

  1. Select Machine-to-Machine (M2M)

Create a M2M Application

  1. In the Details section, enter a name.

Optionally, you can provide a description or adjust the default expiry time (in minutes) for the following token types:

  • Access Token
  • ID Token
  • Refresh Token

You may also select the user role under which the application will operate (this defaults to Organisation Administrator).

M2M Application Details Tab

  1. In the Allowed Scopes section, use the drop-down menu to select the permissions the application is authorised to request.

📄 Note

This list includes native Mapworks scopes as well as any scopes configured for external resource servers. Only the scopes selected here will be available to the application during the OAuth flow.

M2M Application Allowed Scopes Tab

M2M Application Allowed Scopes Expanded

  1. Once the application is created, copy the Client ID and Client Secret. You will need these credentials to authenticate your application.

⚠️ Warning

The Client ID is always viewable; however, the Client Secret will not be shown again once this dialog is closed. Please store it securely.

M2M Viewing Credentials

Managing Client Secrets

Machine-to-Machine applications support up to two concurrent Client Secrets to allow for rotation.

To manage Client Secrets, select a Machine-to-Machine application from the list in the Applications Tab, then open the General Tab.

Applications List

To add a Client Secret:

  1. Click Add.

  2. Copy and store the Client Secret securely.

⚠️ Warning

The Client ID is always viewable; however, the Client Secret will not be shown again once this dialog is closed. Please store it securely.

M2M Add Client Secret

To edit a Client Secret:

  1. Click the Edit button beside the secret.

M2M Edit Client Secret

  1. Update the label or toggle the secret between enabled and disabled.

M2M Edit Client Secret

  1. Click the tick icon to save, or the cross icon to discard your changes.

To delete a Client Secret:

  1. Click the Edit button beside the secret.

M2M Edit Client Secret

  1. Disable the secret and click the tick icon to save.

M2M Edit Client Secret

  1. Click the Delete button beside the secret.

M2M Delete Client Secret