Anbindung TSA (OPA)
Description:
OPA (Open Policy Agent) will be contacted through rest. the OPA URL should be configurable.
OPA expects input as part of the request body. Document the structure of the input. Input must include the tenantid. Essentially make a rest call, and parse the output if "acceptCredential" is true or false and return this to the internal logic of the service.
Acceptance Criteria:
-
function that handles OPA call should be created -
function should return true or false. true indicates credential should be accepted.
Edited by Nguyen Minh Dang