Custom Integration
Creating an authorization URL
Key
Value
https://api.id.gov.sg/v1/oauth/authorize?
response_type=code
&client_id=abc
&scope=openid%20myinfo.name%20myinfo.passport_expiry_date%20myinfo.nric_number
&redirect_uri=https://example.com/callback
&nonce=BQO8SV3ALIYA808IZ8O7PKWRI8A8X6MI
&state=tk39drykro3Exchange auth code for access token
Key
Value
Key
Value
Request for user info
Key
Value
Decrypting the payload

data you received from the user info endpointLast updated
Was this helpful?