tobinbradley/dirt-simple-postgis-http-api

REST API security and Authentication

Closed this issue · 1 comments

Hi tobin, i noticed your updates today to the server and i'm about to use it in a project but i'm concerned about how to implement authentication on a certain or all the end points.
since the api is written in hapi framework so i'm looking for resources about that if you have good ones.
also if you have a plan to implement this in the future ?

I haven't done that before, but that's a wheel we don't have to invent - the Hapi plugins page has 20+ different plugins for authorization and authentication. The Bell plugin seems to be popular if you're looking for 3rd party authentication (Facebook/Google/etc.).