Support Auto‑Fetch & Auto‑Refresh Access Token in OAuth2 Flows
Théo Dulieu
Auto‑Fetch Token If Missing or Expired
Currently, if no access token is present (or it's expired), ApiDog requires manual click on “Get Token”. It would be much smoother if ApiDog could:
Detect absence or expiry of an access token before sending a request.
Automatically initiate the OAuth2 flow (e.g., client_credentials or password grant) to fetch a new token.
Attach the new token to the current request without user intervention.