I can’t seem to figure out why the token generated via client credentials expires before my pipeline finishes.
I am using the standard POST /oauth/token endpoint with grant_type=client_credentials. The response returns a 1-hour expiry, which is too short for my build process.
POST /oauth/token
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials&client_id={id}&client_secret={secret}
Is there a parameter to extend this, or must I implement a refresh loop in my script?