{ "code": 7, "message": "JWT validation failed: Audience not allowed", "details": [ { "@type": "type.googleapis.com/google.rpc.DebugInfo", "stackEntries": [], "detail": "auth" } ]}
{ "swagger": "2.0", "info": { "title": "My API", "version": "v1.0.0" }, "host": "my-api.appspot.com", "consumes": [ "application/json" ], "produces": [ "application/json" ], "schemes": [ "https" ], "securityDefinitions": { "api_key": { "type": "apiKey", "name": "api_key", "in": "header" }, "firebase": { "authorizationUrl": "", "flow": "implicit", "type": "oauth2", "x-google-issuer": "https://securetoken.google.com/my-api", "x-google-jwks_uri": "https://www.googleapis.com/service_accounts/v1/metadata/x509/secur...@system.gserviceaccount.com", "x-google-audiences:": "my-api.appspot.com" } }, "security": [{ "firebase": [] }], "basePath": "/1", "paths": { "/{userParam}/user/object": { "get": { "summary": "Object Definition", "description": "", "operationId": "cfd8dab4-7245-441a-8324-fc0466ed2af4", "parameters": [{ "type": "string", "name": "userParam", "required": true, "in": "path" }, { "type": "string", "default": "user", "name": "dataClass", "required": false, "in": "header" }, { "type": "string", "default": "UserAccounts", "name": "keys", "required": false, "in": "query" }, { "type": "string", "default": "true", "name": "showDefaults", "required": false, "in": "query" } ], "responses": { "default": { "description": "" } } } } }, "tags": []}
{ "iss": "https://securetoken.google.com/my-api", "name": "xxx", "picture": "xxx", "aud": "my-api", "auth_time": 1510076147, "user_id": "xxx", "sub": "xxx", "iat": 1510131725, "exp": 1510135325, "email": "xxx", "email_verified": true, "firebase": { "identities": { "google.com": [ "xxx" ], "email": [ "xxx" ] }, "sign_in_provider": "google.com" }}
runtime: phpenv: flex
runtime_config: document_root: public nginx_conf_include: api.nginx-app.conf
[...]
endpoints_api_service: name: my-api.appspot.com config_id: 2017-11-08r1