[X] I've searched existing issues and found nothing related to my issue.
Describe the feature you want to add
Hi
I have set up an OAuth2 + PKCE in Auth tab of a collection.
The requests in the collection are configured with "inherit".
As the token is valid only for a short amount of time, it needs to be refreshed before sending a new request.
Currently it's done manually by clicking on "get access token" in Collection Auth tab.
I didn't find a way to automatize it in pre-request script.
It will be great if this action is automatically executed each time a request is sent and the token is expired.
I have checked the following:
Describe the feature you want to add
Hi I have set up an OAuth2 + PKCE in Auth tab of a collection. The requests in the collection are configured with "inherit". As the token is valid only for a short amount of time, it needs to be refreshed before sending a new request. Currently it's done manually by clicking on "get access token" in Collection Auth tab. I didn't find a way to automatize it in pre-request script. It will be great if this action is automatically executed each time a request is sent and the token is expired.
Mockups or Images of the feature