Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e21b0f

Browse filesBrowse files
llatifJon Wayne Parrott
authored andcommitted
s/DEFAUTL/DEFAULT (typo) (GoogleCloudPlatform#854)
1 parent ffae2ed commit 8e21b0f
Copy full SHA for 8e21b0f

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
  • endpoints/getting-started/clients/service_to_service_gae_default
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎endpoints/getting-started/clients/service_to_service_gae_default/main.py

Copy file name to clipboardExpand all lines: endpoints/getting-started/clients/service_to_service_gae_default/main.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from google.appengine.api import app_identity
2424
import webapp2
2525

26-
DEFAUTL_SERVICE_ACCOUNT = 'YOUR-CLIENT-PROJECT-ID@appspot.gserviceaccount.com'
26+
DEFAULT_SERVICE_ACCOUNT = 'YOUR-CLIENT-PROJECT-ID@appspot.gserviceaccount.com'
2727
HOST = "YOUR-SERVER-PROJECT-ID.appspot.com"
2828

2929

@@ -41,12 +41,12 @@ def generate_jwt():
4141
# expires after one hour.
4242
"exp": now + 3600,
4343
# iss is the Google App Engine default service account email.
44-
'iss': DEFAUTL_SERVICE_ACCOUNT,
45-
'sub': DEFAUTL_SERVICE_ACCOUNT,
44+
'iss': DEFAULT_SERVICE_ACCOUNT,
45+
'sub': DEFAULT_SERVICE_ACCOUNT,
4646
# aud must match 'audience' in the security configuration in your
4747
# swagger spec.It can be any string.
4848
'aud': 'echo.endpoints.sample.google.com',
49-
"email": DEFAUTL_SERVICE_ACCOUNT
49+
"email": DEFAULT_SERVICE_ACCOUNT
5050
})
5151

5252
headerAndPayload = '{}.{}'.format(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.