You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: appengine/flexible/endpoints/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ The JWT client demonstrates how to use a service account to authenticate to endp
72
72
73
73
To use the service account for authentication:
74
74
75
-
1. Update the `google_jwt`'s `x-jwks_uri` in `openapi.yaml` with your service account's email address.
75
+
1. Update the `google_jwt`'s `x-google-jwks_uri` in `openapi.yaml` with your service account's email address.
76
76
2. Redeploy your application.
77
77
78
78
Now you can use the JWT client to make requests to the API:
@@ -91,7 +91,7 @@ The ID Token client demonstrates how to use user credentials to authenticate to
91
91
92
92
To use the client ID for authentication:
93
93
94
-
1. Update the `/auth/info/googleidtoken`'s `audiences` in `openapi.yaml` with your client ID.
94
+
1. Update the `google_id_token`'s `x-google-audiences` in `openapi.yaml` with your client ID.
95
95
2. Redeploy your application.
96
96
97
97
Now you can use the client ID to make requests to the API:
@@ -106,7 +106,7 @@ We refer to the project that serves API requests as the server project. You also
106
106
107
107
To use the App Engine default service account for authentication:
108
108
109
-
1. Update the `gae_default_service_account`'s `x-issuer` and `x-jwks_uri` in `openapi.yaml` with your client project ID.
109
+
1. Update the `gae_default_service_account`'s `x-google-issuer` and `x-google-jwks_uri` in `openapi.yaml` with your client project ID.
110
110
2. Redeploy your server application.
111
111
3. Update clients/service_to_service_gae_default/main.py, replace 'YOUR-CLIENT-PROJECT-ID' and 'YOUR-SERVER-PROJECT-ID' with your client project ID and your server project ID.
112
112
4. Upload your application to Google App Engine by invoking the following command. Note that you need to provide project ID in the command because there are two projects (server and client projects) here and gcloud needs to know which project to pick.
@@ -137,7 +137,7 @@ Google API python client library should have already been installed under 'lib'
137
137
138
138
To use the client for authentication:
139
139
140
-
1. Update the `google_service_account`'s `x-issuer` and `x-jwks_uri` in `openapi.yaml` with your service account email.
140
+
1. Update the `google_service_account`'s `x-google-issuer` and `x-google-jwks_uri` in `openapi.yaml` with your service account email.
141
141
2. Redeploy your server application.
142
142
3. Update clients/service_to_service_non_default/main.py by replacing 'YOUR-SERVICE-ACCOUNT-EMAIL', 'YOUR-SERVER-PROJECT-ID' and 'YOUR-CLIENT-PROJECT-ID'
143
143
with your service account email, your server project ID, and your client project ID, respectively.
Copy file name to clipboardExpand all lines: endpoints/getting-started/README.md
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ The JWT client demonstrates how to use a service account to authenticate to endp
67
67
68
68
To use the service account for authentication:
69
69
70
-
1. Update the `google_jwt`'s `x-jwks_uri` in `openapi.yaml` with your service account's email address.
70
+
1. Update the `google_jwt`'s `x-google-jwks_uri` in `openapi.yaml` with your service account's email address.
71
71
2. Redeploy your application.
72
72
73
73
Now you can use the JWT client to make requests to the API:
@@ -86,7 +86,7 @@ The ID Token client demonstrates how to use user credentials to authenticate to
86
86
87
87
To use the client ID for authentication:
88
88
89
-
1. Update the `/auth/info/googleidtoken`'s `audiences` in `openapi.yaml`with your client ID.
89
+
1. Update the `google_id_token`'s `x-google-audiences` in `openapi.yaml`with your client ID.
90
90
2. Redeploy your application.
91
91
92
92
Now you can use the client ID to make requests to the API:
@@ -101,7 +101,7 @@ We refer to the project that serves API requests as the server project. You also
101
101
102
102
To use the App Engine default service account for authentication:
103
103
104
-
1. Update the `gae_default_service_account`'s `x-issuer` and `x-jwks_uri` in `openapi.yaml` with your client project ID.
104
+
1. Update the `gae_default_service_account`'s `x-google-issuer` and `x-google-jwks_uri` in `openapi.yaml` with your client project ID.
105
105
2. Redeploy your server application.
106
106
3. Update clients/service_to_service_gae_default/main.py, replace 'YOUR-CLIENT-PROJECT-ID' and 'YOUR-SERVER-PROJECT-ID' with your client project ID and your server project ID.
107
107
4. Upload your application to Google App Engine by invoking the following command. Note that you need to provide project ID in the command because there are two projects (server and client projects) here and gcloud needs to know which project to pick.
@@ -132,7 +132,7 @@ Google API python client library should have already been installed under 'lib'
132
132
133
133
To use the client for authentication:
134
134
135
-
1. Update the `google_service_account`'s `x-issuer` and `x-jwks_uri` in `openapi.yaml` with your service account email.
135
+
1. Update the `google_service_account`'s `x-google-issuer` and `x-google-jwks_uri` in `openapi.yaml` with your service account email.
136
136
2. Redeploy your server application.
137
137
3. Update clients/service_to_service_non_default/main.py by replacing 'YOUR-SERVICE-ACCOUNT-EMAIL', 'YOUR-SERVER-PROJECT-ID' and 'YOUR-CLIENT-PROJECT-ID'
138
138
with your service account email, your server project ID, and your client project ID, respectively.
@@ -155,10 +155,8 @@ The client project is running Google App Engine standard application.
155
155
156
156
To use the client for authentication:
157
157
158
-
1. Update the `google_id_token`'s audiences, replace `YOUR-SERVER-PROJECT-ID` with your server project ID.
159
-
2. Redeploy your server application.
160
-
3. Update clients/service_to_service_google_id_token/main.py, replace 'YOUR-CLIENT-PROJECT-ID' and 'YOUR-SERVER-PROJECT-ID' with your client project ID and your server project ID.
161
-
4. Upload your application to Google App Engine by invoking the following command. Note that you need to provide project ID in the command because there are two projects (server and client projects) here and gcloud needs to know which project to pick.
158
+
1. Update clients/service_to_service_google_id_token/main.py, replace 'YOUR-CLIENT-PROJECT-ID' and 'YOUR-SERVER-PROJECT-ID' with your client project ID and your server project ID.
159
+
2. Upload your application to Google App Engine by invoking the following command. Note that you need to provide project ID in the command because there are two projects (server and client projects) here and gcloud needs to know which project to pick.
0 commit comments