Skip to content

Commit 99ff4b7

Browse files
llatiflesv
authored andcommitted
Update openapi.yaml (#490)
Incorporate new prefix for x-issuer and x-jwks_uri flags. Stops gcloud throwing warnings when sample openapi.yaml is deployed. See #483
1 parent 128338b commit 99ff4b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

endpoints/getting-started/src/main/appengine/openapi.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ securityDefinitions:
9494
flow: "implicit"
9595
type: "oauth2"
9696
# This must match the 'iss' field in the JWT.
97-
x-issuer: "jwt-client.endpoints.sample.google.com"
97+
x-google-issuer: "jwt-client.endpoints.sample.google.com"
9898
# Update this with your service account's email address.
99-
x-jwks_uri: "https://www.googleapis.com/service_accounts/v1/jwk/YOUR-SERVICE-ACCOUNT-EMAIL"
99+
x-google-jwks_uri: "https://www.googleapis.com/service_accounts/v1/jwk/YOUR-SERVICE-ACCOUNT-EMAIL"
100100
# This section configures authentication using Google OAuth2 ID Tokens.
101101
# ID Tokens can be obtained using OAuth2 clients, and can be used to access
102102
# your API on behalf of a particular user.
103103
google_id_token:
104104
authorizationUrl: ""
105105
flow: "implicit"
106106
type: "oauth2"
107-
x-issuer: "accounts.google.com"
108-
x-jwks_uri: "https://www.googleapis.com/oauth2/v1/certs"
107+
x-google-issuer: "accounts.google.com"
108+
x-google-jwks_uri: "https://www.googleapis.com/oauth2/v1/certs"

0 commit comments

Comments
 (0)