3 ms·
You can easily add authentication to Go via JWT [0]. You can also write middlewares in Go[1] ranging from auth to gzip or anything else you can think of. [0] h
by bkovacev 8y ago
You can easily add authentication to Go via JWT [0]. You can also write middlewares in Go[1] ranging from auth to gzip or anything else you can think of.
[0] https://github.com/dgrijalva/jwt-go https://github.com/dgrijalva/jwt-go
[1] https://hackernoon.com/simple-http-middleware-with-go-79a4ad62889b https://hackernoon.com/simple-http-middleware-with-go-79a4ad...
- hbbio 8y agoExactly! Notes which I mentioned in another comment uses JWT https://github.com/wallix/notes https://github.com/wallix/notes and features a minimal auth/login API and client. Just a bit of warning: Passwords are not securely stored (in cleartext) on purpose, since the goal is to then use our (open source) SDK to encrypt passwords and other data.