working oauth2 proto
compilation fixes