Giter Site home page Giter Site logo

Comments (4)

tiblu avatar tiblu commented on July 18, 2024

Expects tokens payload path to match req.path:

  • GET /api/users/:userId/topics/:topicId/votes/:voteId/downloads/bdocs/final
    • Update tests
  • GET /api/topics/:topicId/votes/:voteId/downloads/bdocs/final - the Parliament e-mail! BW COMP!
    • Update tests
    • BW comp test
  • GET /api/users/:userId/topics/:topicId/votes/:voteId/downloads/zip/final
    • Update tests
  • GET /api/topics/:topicId/votes/:voteId/downloads/zip/final
    • Update tests
  • POST /api/topics/:topicId/events - the Parliament e-mail! BW COMP!
    • Update tests
    • BW comp test
  • GET /api/topics/:topicId/comments/:commentId/reports/:reportId
    • Update tests
    • BW comp test
  • GET /api/users/:userId/topics/:topicId/comments/:commentId/reports/:reportId
    • Update tests
    • BW comp test
  • POST /api/topics/:topicId/comments/:commentId/reports/:reportId/moderate
    • Update tests
    • BW comp test

from citizenos-api.

tiblu avatar tiblu commented on July 18, 2024

Created a library to issue and verify the restricted use tokens - https://github.com/citizenos/citizenos-api/blob/master/libs/cosJwt.js
Created a middleware to validate restricted use tokens and used where possible - https://github.com/citizenos/citizenos-api/blob/master/libs/middleware/authTokenRestrictedUse.js

from citizenos-api.

tiblu avatar tiblu commented on July 18, 2024

Idea for TESTING ONLY: sniffer that validates all API links sent in e-mails, checks that they work.
#81

from citizenos-api.

tiblu avatar tiblu commented on July 18, 2024

Live.

from citizenos-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.