1 year ago

How do I secure my API endpoints from requests outside of my app?

Posted 1 year ago by p0t4t0

I built an API with Laravel and tried the auth:api middleware that comes with Passport but it doesn't seem to be what I need. What I basically want is for my endpoints to be accessible ONLY if the request was made from MY app (users don't have to be logged in to be able to get a response). Is it possible?

Please sign in or create an account to participate in this conversation.