How to create basic auth needed for /oauth/v2/token API
I am trying to figure out how to use the token exchange endpoint documented on https://zitadel.com/docs/guides/integrate/token-exchange#impersonation-by-user-id-example
The examples use curl with the -u parameter for basic auth. But I cannot find anywhere how to generate this basic auth user:password pair.
The Zitadel project in the admin UI has an Auth API Application app, but it only supports generating a private key JSON, and I can only find docs on how to generate a JWT from this, not a user:password for basic auth.
0 Replies