Skip to content

BB-2026: Add new authentication endpoints

This PR adds refresh and verify endpoints and update frontend API client.

Testing instructions:

  1. Checkout this branch.
  2. Run Ocim using make run.dev.
  3. Go to the Swagger API docs (http://localhost:5000/api/swagger/) and check that the following endpoints exist and are correctly specified:
  • /v2/auth/verify/
  • /v2/auth/refresh/
  1. Test the endpoints using the browser client.
  2. Go into the frontend folder and update the API client using the following command:
./scripts/build-api-client.sh
  1. Run the frontend: npm run start
  2. Access the page and open the browser console. Test the API client from there. 2020-01-14_16-59

Reviewer:

Merge request reports