Local Server

A local server is an application (server) that can be used by wallet users to access certain GCP services such as initiating payment, viewing card/wallet details, etc. The local server represents each system that integrates and consumes GCP APIs.

Local server examples:

  • TH Wallet Local Server: This represents the local service system that integrates with GCP and serves the TH Wallet application.

  • PH Wallet Local Server: This represents the local service system that integrates with GCP and serves the PH Wallet application.

Significance of a Local Server

  1. The local server can access some of these services without user intervention (such as initiating payment, viewing card/wallet details, etc.)

  2. Many services can only be accessed with tokens that are generated with local server and user details (such as edit profile, edit card/wallet details, etc.)

  3. A local server is not necessarily needed for a tenant (a tenant may exist without a local server), but a local server needs to be associated with a tenant (a local server cannot exist without a tenant)

As a tenant admin, you can view and update the local server from the BackOffice panel. From the 'GCP Settings' menu, click on the 'Local Server' option. This will bring about the local server list with details. The list can be sorted in both ascending and descending order of information such as Local Server Name, Country code, Client ID, BackOffice URL, and Redirect URL.

Local Server List Page

Information of a specific local server listed on this page are:

  1. Local Server Name - the name of the local server.

  2. Client ID - the local server UID associated with the server.

  3. Country Code - the country code of the local server.

  4. Backoffice URL - the URL of the backoffice to which the local server is connected to.

  5. Redirect URL - the list of redirect URLs for the local server.

You can click on the local server in the list to go directly to the local server detail page. In the local server detail page, you can see more information about the local server (Name, Client ID [UID], Description, Secret, Redirect URLs, Tenants).

Details of a specific local server contains:

Attribute
Description

UID

Use for verify on the registration or sign-in page

Local server name

Name of the local server

Secret Key

Use as secret for getting local server token

Tenant

Name of the assigned tenant

Country code

For example - TH, PH

BackOffice URL

URL of the BackOffice

Redirect URL

Use for verify on the registration and sign-in page and the URL for the user to be redirected to after registered or signed-in

Additionally, this page will also contain details about:

  1. The custom interval period set for the Wallet User and Office User refresh tokens.

  2. The custom time period set for the phone number to be blocked from re-registration by the user.

Local Server Details Page

Scroll down the page to view the Assigned Tenant information:

Local Server Details Page

Note: The Tenant Admin View-only role can only view the Local server details. Create/Edit/Update actions are not permitted for this role.

Click on "<- Local Server" to go back to the Local Server list page.

Last updated