Hey guys I am having hard time in dealing with putting authentication on my api/route. My website
Hey guys I am having hard time in dealing with putting authentication on my api/route.
My website has no log-in feature so user can just access it freely, the problem though is that the api/route can be access too I tried setting up a middleware
the problem is sometimes the referer and host is empty on the log, I am thinking on implementing token and saving it on kv but I am not sure how to do it
. Sorry noob here
My website has no log-in feature so user can just access it freely, the problem though is that the api/route can be access too I tried setting up a middleware
the problem is sometimes the referer and host is empty on the log, I am thinking on implementing token and saving it on kv but I am not sure how to do it




