Local Server
A local server is an application (server) that can be used by wallet users to access certain GCP services such as initiate payment, view card/wallet details, etc. Local server represents each system that integrates and consumes GCP APIs.
Local server examples:
TH Wallet Local Server: Represents the local service system that integrates with GCP and serves the TH Wallet application.
PH Wallet Local Server: Represents the local service system that integrates with GCP and serves the PH Wallet application.
Significance of a Local Server
The local server can access some of these services without user intervention (such as initiate payment, view card / wallet details, etc.)
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.)
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' sidebar 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.

You can click on a local server to view all details of that specific local server. Information of a specific local server contains:
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
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 of the local server (Name, Client ID [UID], Description, Secret, Redirect URLs, Tenants).
Additionally, this page will also contain details about:
The custom interval period set for the Wallet User and Office User refresh tokens.
Custom/configure value of absolute TTL for refresh token.
The custom time period set for the phone number to be blocked from re-registration by the user.


Last updated