Is `<https://api.pulumi.com/oauth/token>` the corr...
# general
d
Is
<https://api.pulumi.com/oauth/token>
the correct url for: https://www.pulumi.com/docs/pulumi-cloud/access-management/oidc/client/#exchanging-oidc-tokens? I’m getting 404
Doing some sleuthing, looks like those docs are wrong and it should be: https://github.com/pulumi/auth-actions/blob/main/src/oauth2.ts#L32 api.pulumi.com/api/oauth/token
w
Yes - that's right. We'll get this fixed in the docs. There's an example of using this API at https://www.pulumi.com/docs/pulumi-cloud/access-management/oidc/client/kubernetes-gke/ which confirms what you rediscovered from the Github Action source code. We're working on additional docs around these APIs, as well as including them in the Pulumi Cloud REST API documentation, tracked in https://github.com/pulumi/pulumi-cloud-requests/issues/394.
Initial docs fix PR here: https://github.com/pulumi/docs/pull/13287 (though we'll have more coming soon). Out of curiosity (and to help inform some other work we're planning on doing in this space) - what system are you integrating with Pulumi here?
d
Nice, thank you! Are you going to formalize the deployments REST API too in there?
w
We do have Deployments REST API docs here: https://www.pulumi.com/docs/pulumi-cloud/deployments/api/ We are planning to move those back into the core set of Pulumi Cloud REST API docs soon.
d
Ah yes I meant consolidating