1. Start Signing Process

1. Once the quick set up is completed, invoke the below API.

GET http://localhost:8080/v2/signature/start

Headers

Name
Value

Content-Type

multipart/form-data

Body

Name
Type
Description

null

null

null

Response

{
"
https://stg-id.uaepass.ae/trustedx-authserver/oauth/hsign-as?response_type=code&client_id=sandbox_stage&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fv2%2Fsignature%2Fsign-identity%3FcertType%3Dqualified&scope=urn:safelayer:eidas:sign:identity:use:server urn:uae:digitalid:backend_api:hash_signing&acr_values= &ui_locales=en&register_group_labelsM=qualified
"
}

Sample postman API request and response

Sample Curl Command

curl --location 'http://localhost:8080/v2/signature/start' \
--header 'Content-Type: multipart/form-data'
  1. Invoke the URL obtained from the API response (as shown in the screenshot) in browser to obtain the sign identities and transaction id value. During this step users will be prompted to authorize and if the Application redirect URL has been configured the txId and signing Identity values will be returned as response header params. Otherwise in response body.

User authorization sample
Sample response when application redirect URL is configured.

Sample response if application redirect URL is not configured

The transaction id remains valid for 10 mins.

Last updated

Was this helpful?