OAuth2 client for lua