Updated example for OAuth2