0

I have one question. I seted up a new tenant in my Identity Platform, and I need to set a security definition in a OpenAPI document for an API Gateway to authenticate users that ONLY belongs to this new tenant.

For example, for default firebase authentication would be something like this:

securityDefinitions:
  firebase:
    authorizationUrl: ""
    flow: "implicit"
    type: "oauth2"
    x-google-issuer: "https://securetoken.google.com/{projectID}"
    x-google-jwks_uri: "https://www.googleapis.com/service_accounts/v1/metadata/x509/securetoken@system.gserviceaccount.com"
    x-google-audiences: "{projectID}"

And for authenticating a service account would be like this:

securityDefinitions:
  saOAuth:
    authorizationUrl: ""
    flow: "implicit"
    type: "oauth2"
    x-google-issuer: "{saName}@{projectID}.iam.gserviceaccount.com"
    x-google-jwks_uri: "https://www.googleapis.com/robot/v1/metadata/x509/{saName}@{projectID}.iam.gserviceaccount.com"
    x-google-audiences: "{someAudience}"

So, how can I make a definition for a specific tenant??

0 Answers0