chages for api in oauth configuration