I am trying to configure the "Try this API" feature in GCP Endpoint using a service account as authentication. I am using this documentation: https://cloud.google.com/endpoints/docs/openapi/authenticating-users-custom
I have configured endpoint securityDefinitions as stated below.
securityDefinitions:
google_service_account_dev:
authorizationUrl: ""
flow: "implicit"
type: "oauth2"
x-google-issuer: "[...]@appspot.gserviceaccount.com"
x-google-jwks_uri: "https://www.googleapis.com/robot/v1/metadata/x509/[...]@appspot.gserviceaccount.com"
x-google-audiences: "[...].appspot.com"
In the developer portal there is a message:"Try this API" is disabled for users on this page for the following reasons:
"Try this API" requires an authorization URL to be specified in the API spec for the "google_service_account_dev" security requirement.
In documentation "authorizationUrl" component is empty, so documentation is buggy.
How it should be configured to allow to use "Try this API" feature?
EDIT:
I tried to follow this documentation: https://cloud.google.com/endpoints/docs/openapi/dev-portal-explore-api
It seems out of date. According to the document in the Portal settings there should be APIs Explorer Settings section, but it is not present. Any idea where I should paste the API Key?