Re:Ponzu – An open-source HTTP server framework and CMS in Go
by nilslice on Sunday April 09, 2017 @09:03PM
(#14075267)
Auth for API usage is up to the user to implement, but you could borrow code from the internal system/admin/user package to do password based auth & check JWTs. All of the API interactions w/ the system have hooks (see here: https://github.com/ponzu-cms/ponzu/blob/master/system/item/i...) so you can do auth verification, data validation, etc all within the req/res lifecycle.
[ Parent
| on HN ]
There are no comments on this comment yet.