add option in client for oauth2 token url