Registration
Firstly, you will need to register your client on the sgID Developer Portal. This will provide you with the OAuth 2.0 credentials necessary to authenticate your client with sgID, as well as a private key to decrypt user data. Click the link below to visit the developer portal and begin the registration process.
To register your client, you need to:
Step 1: Login to the sgID Developer Portal with Singpass

Before you can register your client, you will have to login to the sgID Developer Portal using your Singpass mobile app.
Step 2: Register a new client

When registering a client, you will be prompted to fill in the following details.
Name
Your client display name. This will be displayed to the end user when they are logging in to your app with the Singpass mobile app.
Description
A brief description of the purpose of your client application. This will be displayed to the end user when they are logging in to your app with the Singpass mobile app.
Scopes
The maximum list of scopes that your app will be authorized to access. Please refer to the Data Catalog for the full list of scopes is offered by sgID.
Note: That only the scopes OpenId
and NAME
are available for general use. If you require more scopes, please follow the instructions here.
Callback URLs
The callback URLs that sgID will be allowed to redirect to after the end user authenticates with the Singpass mobile app. This should be the endpoint of your own application.
Step 3: Download your new client credentials

After completing registration, your client credentials will be generated. Download these credentials and store them in a safe place. The fields in the credentials are as follows.
id
This is your client ID and it is a unique string that identifies your client.
secret
This is your client secret and it is a 32-character string used for exchanging the authorization code for a token.
scopes
The maximum list of scopes that your app is authorized to access which was defined during client registration.
publicKey
The RSA-2048 Public Key used by sgID to encrypt data to be sent to your application
privateKey
The RSA-2048 Private Key that will be used by your application to decrypt received data
Last updated