Configuring the OAuth 2 client