Skip to content

Commit 7835504

Browse files
saicheemsJon Wayne Parrott
authored andcommitted
Fix audiences type (#453)
1 parent 79ff40c commit 7835504

File tree

1 file changed

+1
-1
lines changed
  • appengine/standard/endpoints-frameworks-v2/backend

1 file changed

+1
-1
lines changed

appengine/standard/endpoints-frameworks-v2/backend/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def echo(self, request):
5555
# Require auth tokens to have the following scopes to access this API.
5656
scopes=[endpoints.EMAIL_SCOPE],
5757
# OAuth2 audiences allowed in incoming tokens.
58-
audiences='your-oauth-client-id.com')
58+
audiences=['your-oauth-client-id.com'])
5959
def get_user_email(self, request):
6060
user = endpoints.get_current_user()
6161
# If there's no user defined, the request was unauthenticated, so we

0 commit comments

Comments
 (0)