Configuring OAuth 2.0 for AS Java