When I use oauth2 the token does not refresh, peeking at the plugin code I believe this should already be implemented.
I use an application that embeds keycloak (version 25.0.6) for oauth2, I get a token response if the current token is empty/removed. Once the token times out Yaak does not try and refresh it and I need to manually remove the token to generate a new one.
Config:

Access Token Response (redacted):
{
"access_token": "<redacted>",
"expires_in": 300,
"refresh_expires_in": 1800,
"refresh_token": "<redacted>",
"token_type": "Bearer",
"id_token": "<redacted>",
"not-before-policy": 0,
"session_state": "c1416f1d-6f6e-475d-b702-63e3c8790547",
"scope": "openid profile email"
}
Response after token expiration:

Please authenticate to join the conversation.
Released
Feedback
Bug
Over 1 year ago

sonnius
Get notified by email when there are changes.
Released
Feedback
Bug
Over 1 year ago

sonnius
Get notified by email when there are changes.