JWT integration with contact us form
Integrate JWT Token with contact us form. Before sending a POST request to backend API for creating RT, the client will request a token. The token will be sent over in an Autorization Header along with the form data. The API will then validate the token before creating RT.
201 : Created
Creates Ticket with payload {"success" : True }
401 : Unauthorized
Token not verified (Signature expired, invalid token )
422 : Unprocessable Entity
One of the fields missing
Invalid email format
Review APP: http://submit-form.review.ensembl.org/
JIRA : https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-1261