Sample code for 30+ languages & platforms
Lua

OAuth2 Examples for Lua