Seperate API authentication for NextJS

Hey guys! I am working on an app in NextJS and I want to add a few API Endpoints that I want my users to be able to use via API endpoints. How would I enforce an API key based auth only for the API routes while keeping my email/password auth on the other parts of the site?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?