Page MenuHomePhabricator

Add authentication middleware to our main API
Closed, ResolvedPublic8 Estimated Story Points

Description

We need to add authentication middleware to our main API so that we can be sure that our API is being accessed only by authenticated users.

Acceptance criteria
Unauthenticated users can't access the API.

To Do

  • create a separate submodule called httputil
  • add authentication middleware in there
  • connect that submodule to main API and apply authentication
  • modify unit tests
  • move things from main API to htttputil

Notes
We can base the middleware on this code. But we no longer need IP authentication, so that we can simplify the code.

Event Timeline

Protsack.stephan updated the task description. (Show Details)
Protsack.stephan updated the task description. (Show Details)
Protsack.stephan set the point value for this task to 8.
Alexander.lauie changed the task status from Open to In Progress.Oct 17 2022, 2:07 PM
Alexander.lauie claimed this task.
Protsack.stephan changed the task status from In Progress to Open.Oct 17 2022, 2:08 PM
Protsack.stephan removed Alexander.lauie as the assignee of this task.
Protsack.stephan assigned this task to Alexander.lauie.
Protsack.stephan added a subscriber: Alexander.lauie.
Protsack.stephan removed a subscriber: Alexander.lauie.
AnnaMikla changed the task status from Open to In Progress.Oct 26 2022, 11:08 AM
AnnaMikla changed the task status from In Progress to Open.Oct 28 2022, 12:27 PM
AnnaMikla changed the task status from Open to In Progress.
Daria_Kevana changed the task status from In Progress to Open.Nov 21 2022, 8:28 PM