@Api(name = "account", version = "v1", title = "Account API", description = "Account Central API for managing user registration and authentication", namespace = @ApiNamespace(ownerDomain = "******.com", ownerName = "****** Inc.", packagePath = ""), issuers = {
@ApiIssuer(name = "firebase", issuer = "https://securetoken.google.com/******", jwksUri = "https://www.googleapis.com/robot/v1/metadata/x509/secur...@system.gserviceaccount.com") }, issuerAudiences = {
@ApiIssuerAudience(name = "firebase", audiences = { "******" }) }, apiKeyRequired = AnnotationBoolean.TRUE)
if it only has apiKeyRequired, then the openapi.json has api_key present, and I've verified that this works by itself:
"security": [
{
"api_key": [ ]
}
],
WARNING: openapi.json: Operation 'post' in path '/account/v1/change_password': Operation does not require an API key; callers may invoke the method without specifying an associated API-consuming project. To enable API key all the SecurityRequirement Objects (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-requirement-object) inside security definition must reference at least one SecurityDefinition of type : 'apiKey'.
hi,I am building a Firebase app using endpoints 2.0 (register, login, refresh) based off the echo example. The Java class has annotations for both ApiIssuer and apiKeyRequired:
@Api(name = "account", version = "v1", title = "Account API", description = "Account Central API for managing user registration and authentication", namespace = @ApiNamespace(ownerDomain = "******.com", ownerName = "****** Inc.", packagePath = ""), issuers = {
@ApiIssuer(name = "firebase", issuer = "https://securetoken.google.com/******", jwksUri = "https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com") }, issuerAudiences = {
hi,I am building a Firebase app using endpoints 2.0 (register, login, refresh) based off the echo example. The Java class has annotations for both ApiIssuer and apiKeyRequired:
@Api(name = "account", version = "v1", title = "Account API", description = "Account Central API for managing user registration and authentication", namespace = @ApiNamespace(ownerDomain = "******.com", ownerName = "****** Inc.", packagePath = ""), issuers = {
@ApiIssuer(name = "firebase", issuer = "https://securetoken.google.com/******", jwksUri = "https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com") }, issuerAudiences = {
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/bcc6fa24-a9e6-4385-8503-e6e922154422%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.