1. Token

Obtaining the Token for Accessing the Signature Operations

Firstly, the document signature application/portal calls the VNPASS API to obtain the access token using client credentials issued to them.
 

API Calling Method


POST stg-id.uaepass.ae/trustedx-authserver/oauth/main-as/token 

HTTP/1.1

Headers
 
Name Type Description

Authorization

string

Basic ZG9jc2lnbjpkZW1vZGVtbw==

Content-Type

string

application/x-www-form-urlencoded

grant_type

string

client_credentials

scope

string

urn:safelayer:eidas:sign:process:document


200 Content-Type: application/json;charset=utf-8
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache


{
"access_token" : "{string}" 
"token_type" : "bearer", 
"expires_in" : 300
}

Was this helpful?

Thank you!

Hotline Hotline