add post method for OAuth2 Class