# Kubernetes Engine API . projects . locations . clusters . well_known

## Instance Methods

Gets the OIDC discovery document for the cluster.

### Method Details

`getOpenid_configuration(parent, x__xgafv=None)`

    Gets the OIDC discovery document for the cluster.
    See the
    [OpenID Connect Discovery 1.0
    specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
    for details.
    This API is not yet intended for general use, and is not available for all
    clusters.

    Args:
      parent: string, The cluster (project, location, cluster id) to get the discovery document
    for. Specified in the format `projects/*/locations/*/clusters/*`. (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
          # See the OpenID Connect Discovery 1.0 specification for details.
        "response_types_supported": [ # Supported response types.
          "A String",
        ],
        "claims_supported": [ # Supported claims.
          "A String",
        ],
        "grant_types": [ # Supported grant types.
          "A String",
        ],
        "cacheHeader": { # RFC-2616: cache control support # OnePlatform automatically extracts this field and uses it to set the HTTP
            # Cache-Control header.
          "directive": "A String", # 14.9 request and response directives
          "expires": "A String", # 14.21 response cache expires, in RFC 1123 date format
          "age": "A String", # 14.6 response cache age, in seconds since the response is generated
        },
        "issuer": "A String", # OIDC Issuer.
        "id_token_signing_alg_values_supported": [ # supported ID Token signing Algorithms.
          "A String",
        ],
        "subject_types_supported": [ # Supported subject types.
          "A String",
        ],
        "jwks_uri": "A String", # JSON Web Key uri.
      }