This is a first draft implementation of the captcha microservice. The basic endpoints are there as well there is route that is suitable for the ResourceAPI to leverage. It can be used to confirm valid JWT's generated by the Captcha Service provided that the SECRET environment variable is set appropriately inside each respective service.
The test.js script is an example client widget implementation. It needs to be run on a system capable of opening a browser (to display captcha) and asking for user feedback in the terminal that the "npm test" command was run.
Looking for feedback from @GregTurner / @sachmacd. Thanks for your :eyes: on this!
This is a first draft implementation of the captcha microservice. The basic endpoints are there as well there is route that is suitable for the ResourceAPI to leverage. It can be used to confirm valid JWT's generated by the Captcha Service provided that the SECRET environment variable is set appropriately inside each respective service.
The test.js script is an example client widget implementation. It needs to be run on a system capable of opening a browser (to display captcha) and asking for user feedback in the terminal that the "npm test" command was run.
Looking for feedback from @GregTurner / @sachmacd. Thanks for your :eyes: on this!