Standard Process For Authenticating Cowboy Requests

Hi everyone–question title says it all.

What’s the best way to authenticate REST requests to a cowboy server existing on the public internet? (Meaning: NOT shielded within a private VPC/API Gateway–requests are made directly to its host/public ip address).

Thanks!

Hi there,

I’m afraid it strongly depends on the details of what you’re trying to do. Basic auth, API key, oauth, JWT are all possible choices, and more! Since cowboy is a general purpose HTTP server, any of these is doable, with differing degrees of difficulty. It depends on what you’re trying to protect and from whom.