Skip to content

[BUG] API need to be made secure #40

@tenvoltz

Description

@tenvoltz

Describe the bug
Currently, the API is exposes to the public with no authentication check. It is best practice to secure the API with the NextAuth token obtained from the client side.

Expected behavior
API need to be secured as described in: https://next-auth.js.org/tutorials/securing-pages-and-api-routes

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions