This is the docker compose setup to run esignet UI and esignet-service with mock identity system. This is not for production use.
- Open terminal and go to "docker-compose" folder.
- Run
docker compose --file dependent-docker-compose.yml upto start all the dependent services. - Go to esignet-with-plugins folder and run
mvn clean install -Dgpg.skip=truefrom the command line. - Add esignet-mock-plugin.jar to esignet-service classpath in your IDE.
- Start the EsignetServiceApplication.java from your IDE.
- Import files under postman-collection folder into your postman to test/validate OIDC flow.
-
Open terminal and go to "docker-compose" folder.
-
Run
docker compose --file docker-compose.yml upto start eSignet UI and backend service. -
Access eSignet UI at http://localhost:3000
-
Access eSignet backend services at http://localhost:8088/v1/esignet/swagger-ui.html
-
Onboard relying party in eSignet, import all files under postman-collection folder into your postman. Choose
eSignet-with-mockenvironment in the postman and invoke below requests underOIDC Client Mgmt->Mockfolder in postman.a.
Get CSRF tokenb.
Create OIDC client-> Make sure to update redirect Urls and logo URL as per your requirement in the request body. -
Copy the client ID in the
Create OIDC clientresponse. -
Add a
SignIn with eSignetbutton in the relying party website and embed eSignet authorize URL in the button. Update the below query parameter in the eSignet authorize URL before embedding in the button.a.
client_id-> value should be replace with the value copied in the step 6b.
redirect_uri-> As updated in step 5 -
Add a user in the mock-identity-system. Invoke
Creat Userrequest underUser Mgmt->Mockfolder in the postman. -
Now the setup is completely ready to start the OIDC flow. Refer eSignet user guides for more information.
Note: To know more about the relying party onboard and query parameters used in the eSignet authorize URL refer eSignet docs
- Import files under postman-collection folder into your postman. And invoke requests under
User Mgmt/Mockfolder in postman.