Skip to content

Commit 6d29c15

Browse files
committed
[[MOSIP-39115]]updated README.md
Signed-off-by: techno-376 <rakshitham38@gmail.com>
1 parent 38725e0 commit 6d29c15

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

deploy/README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,26 @@ select option 1 (esignet-mock-plugin.jar).
5555
* Onboarder [scripts](../partner-onboarder/).
5656

5757
### MOCK Plugin
58-
* Download postman collection from [here](../postman-collection)
59-
* Fetch auth token from esignet keycloak. Update the "client_secret" in the request body.
60-
* Run the request under "OIDC Client Mgmt" -> "Mock" -> "Get Auth token"
61-
* Run the requests under
62-
63-
a. "OIDC Client Mgmt" -> "Mock" -> "Get CSRF token"
64-
65-
b. "OIDC Client Mgmt" -> "Mock" -> "Create OIDC client"
58+
Download and import eSignet-with-mock.postman_environment.json and eSignet.postman_collection.json postman collection from [here](../postman-collection))
59+
# OIDC Client Management Instructions
60+
1. Fetch the Authentication Token
61+
Navigate to "OIDC Client Mgmt" → "Mock" → "Get Auth Token" to retrieve the authentication token.
62+
* Update the client_secret (retrieve it from the keycloak-client-secrets).
63+
* Update the iam_url (Keycloak URL) in the request body.
64+
* Retrieve the Keycloak URL from the config-map under keycloak-host → keycloak-external-url.
65+
2. Fetch the CSRF Token
66+
* Navigate to "OIDC Client Mgmt" → "Mock" → "Get CSRF Token" to obtain the CSRF token.
67+
3. Update the Request Fields for OIDC Client Creation
68+
* Before executing the "Create OIDC Client" request, update the following fields in the request body:
69+
* url
70+
* logo-uri
71+
* redirect-uri
72+
* client-name
73+
* client-id
74+
4. Update the clientId in Deployment
75+
* Once the clientId is created and activated, update the clientId in the mock-relying-party-ui deployment.
76+
5. Update the Client Private Key
77+
* Retrieve the client-private-key from the eSignet-with-mock environment and update the client-private-key in the mock-relying-party service secret.
6678

6779
### NOTE:
6880
This deployment is limited to mock

0 commit comments

Comments
 (0)