This is the docker-compose setup to run esignet UI and esignet-service. This is not for production use.
- "config" folder holds the esignet properties file.
- "docker-compose.yml" file with esignet setup with other required services
- "esignet_init.sql" comprises DDL and DMLs required by esignet.
- "loader_path" this is esignet mount volume from where all the runtime dependencies are loaded to classpath. If any new esignet plugins to be tested should be placed in this folder and respective plugin configuration should be updated in config/esignet-default.properties.
Note: Refer https://docs.esignet.io/integration to know how to create custom plugins to integrate.
- Start the docker-compose file
docker-compose up
-
Download the postman script from here and its environment from here
-
Import the downloaded collection and environment into postman.
-
To create an OIDC/OAuth client, run the below request from the postman collection "OIDC Client mgmt" folder
- Get CSRF token
- Create OIDC Client
-
To run the OIDC flow, run the below request(same order) from the postman collection "AuthCode flow with OTP login" folder.
- Get CSRF token
- Authorize / OAuthdetails request
- Send OTP
- Authenticate User
- Authorization Code
- Get Tokens
- Get userInfo
-
To run the Verifiable Credential Issuance flow, run the below request(same order) from the postman collection "VCI" folder.
- Get CSRF token
- Authorize / OAuthdetails request
- Send OTP
- Authenticate User V2
- Authorization Code
- Get Tokens V2
- Get Credential
To invoke the authorize endpoint of esignet UI to start OIDC/VCI flow, use the below URL:
Note: Change the value of client_id, redirect_uri, acr_values and claims as per your requirement in the above URL.