eclipse-tractusx / portal-frontend

Portal Frontend
Apache License 2.0
4 stars 25 forks source link

Update POST endpoint for approving or declining credential requests on the page `/admin-credential #764

Closed jjeroch closed 1 month ago

jjeroch commented 2 months ago

Description: Currently, when approving or declining a credential request on the page /admin-credential, the POST endpoint being triggered belongs to the portal backend. However, we need to switch this endpoint to the corresponding endpoint in the issuer component.

Changes:

  1. Update the POST endpoint triggered when approving a credential request on the page /admin-credential to use the endpoint in the issuer component: https://ssi-credential-issuer.int.demo.catena-x.net/api/issuer/{credentialId}/approval
  2. Update the POST endpoint triggered when declining a credential request on the page /admin-credential to use the endpoint in the issuer component: https://ssi-credential-issuer.int.demo.catena-x.net/api/issuer/{credentialId}/reject

Expected Outcome: After implementing these changes, the POST endpoints triggered when approving or declining a credential request on the page /admin-credential will be switched to the appropriate endpoints in the issuer component, ensuring the correct functionality and data flow.

jjeroch commented 1 month ago

successfully tested and deployed to INT