8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c897d0 commit 79ff40cCopy full SHA for 79ff40c
appengine/standard/endpoints-frameworks-v2/backend/main.py
@@ -53,7 +53,9 @@ def echo(self, request):
53
path='echo/getUserEmail',
54
http_method='GET',
55
# Require auth tokens to have the following scopes to access this API.
56
- scopes=[endpoints.EMAIL_SCOPE])
+ scopes=[endpoints.EMAIL_SCOPE],
57
+ # OAuth2 audiences allowed in incoming tokens.
58
+ audiences='your-oauth-client-id.com')
59
def get_user_email(self, request):
60
user = endpoints.get_current_user()
61
# If there's no user defined, the request was unauthenticated, so we
0 commit comments