update for oAuth

Signed-off-by: loopasam <samuel.croset@gmail.com>