gateway that uses oauth2 working now