6 ms·
I don't understand this, Martini has an awesome middleware that supports Google, Github, Facebook and LinkedIn out of the box: https://github.com/martini-contr
by dougbarrett 12y ago
I don't understand this, Martini has an awesome middleware that supports Google, Github, Facebook and LinkedIn out of the box:
https://github.com/martini-contrib/oauth2 https://github.com/martini-contrib/oauth2
with easy ways to check to see if a user is authenticated.
Gorm is an awesome choice, but this code just looks messy to me
- fredkelly 12y agoHey, thanks for your critique - I really appreciate you taking the time to check out the code. I wanted to be able to validate requests from a mobile application (or similar), rather than building an entire OAuth flow. I'm hoping this will offer a useful starting point to newcomers like myself who want to get something simple off the ground.