ProxyAuthK8S
ApiAuth_clusters

Callback from the cluster's upstream OIDC provider, for the mediated OAuth Authorization Server flow

GET
/clusters/{ns}/{cluster}/oauth/callback

Not meant to be opened directly: the upstream provider redirects here after the caller authenticates. On success, redirects to the external client's own redirect_uri with a proxy-minted authorization code.

Path Parameters

ns*string

Namespace containing the cluster.

cluster*string

Cluster name that should exist in the namespace.

Query Parameters

code*string

Authorization code from the upstream OIDC provider.

state*string

The correlation id this proxy generated at /oauth/authorize.

Response Body

Redirect to the external client's redirect_uri, with a proxy-minted code (or an error).

Example Request
curl -X GET 'https://example.com/clusters/string/string/oauth/callback?code=string&state=string'
Example Response
Empty