Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.67 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.67 KB

APEX Logo

APEX Signature and JOSE Validator

The Apex Signature Validator is an AngularJS application that assists APEX API consumers in verifying whether signatures are generated correctly in their applications when making restful API calls to the APEX API Gateway. See it in action here.

You can find out more about Apex signature generation from our reference Node.js implementation at https://github.com/GovTechSG/node-apex-api-security.

Microservice

This fork includes a microservice that serves the validator frontend and provides a backend to route test requests through. This allows users to make test API calls without having to configure CORS on their Apex gateway.

Running the container

$ docker build --tag {container_tag} .
$ docker run --name {container_name} \ 
    -p 3544:3544 \ # Publish application port
    {container_tag}

The container will serve the signature validator front-end (e.g. http://localhost:3544, or your own webserver URL) and expose an API that the front-end will use to make HTTP calls.

Important

Upstream changes

$ git branch -b frontend # use a non-master branch
$ git remote add frontend https://github.com/GovTechSG/apex-signature-validator
$ git pull frontend master
  • After pulling changes, do a PR from the frontend branch to master.