Skip to content

Secure our API endpoints #14

@ZGeek03

Description

@ZGeek03

Description
Currently, some of our API endpoints do not authenticate requests and could allow abuse. To prevent this and to protect our resources, we need to implement some sort of authentication. We could continue JWT token rollout to include our APIs. Another option we could think about is filtering some of our endpoints based on origin address, for endpoints that do not expect devices from the public internet to connect.
Additionally, internal API routes should not be hit-able from external sources.

Completion Criteria

  • Simulation and Authentication APIs are protected as needed
  • Original functionality of APIs is not affected
  • Fine tune our Caddy config to exclude API endpoints that are strictly internal
  • Other components of our architecture are updated as needed to authenticate properly
  • Documentation is updated according to changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions