GetOAuthClient function

Get OAuth client