From 0ad54e150443f12a7381c3b2d9be4cedd77779d0 Mon Sep 17 00:00:00 2001 From: Sai Cheemalapati Date: Mon, 15 Aug 2016 15:37:00 -0700 Subject: [PATCH] Fix `audiences` type --- appengine/standard/endpoints-frameworks-v2/backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appengine/standard/endpoints-frameworks-v2/backend/main.py b/appengine/standard/endpoints-frameworks-v2/backend/main.py index 6b5feeefbf5..b4d3dad6eb9 100644 --- a/appengine/standard/endpoints-frameworks-v2/backend/main.py +++ b/appengine/standard/endpoints-frameworks-v2/backend/main.py @@ -55,7 +55,7 @@ def echo(self, request): # Require auth tokens to have the following scopes to access this API. scopes=[endpoints.EMAIL_SCOPE], # OAuth2 audiences allowed in incoming tokens. - audiences='your-oauth-client-id.com') + audiences=['your-oauth-client-id.com']) def get_user_email(self, request): user = endpoints.get_current_user() # If there's no user defined, the request was unauthenticated, so we