3 ms·
Slightly OT, but as a mobile guy who occasionally toys with server-side programming, authentication is always where I get stuck. I'd like to see some examples o
by chrisdevereux 12y ago
Slightly OT, but as a mobile guy who occasionally toys with server-side programming, authentication is always where I get stuck. I'd like to see some examples of how to implement authentication and sessions cleanly without too much framework magic. Any pointers?
- deleted 12y ago[deleted]
- p8952 12y agoRolling your own? This is as simple as it gets: http://128bitstudios.com/2011/11/21/authentication-with-sinatra/ http://128bitstudios.com/2011/11/21/authentication-with-sina... If you want to make it even easier, use OmniAuth: http://recipes.sinatrarb.com/p/middleware/twitter_authentication_with_omniauth http://recipes.sinatrarb.com/p/middleware/twitter_authentica...