[Task]: Expires_in field added in OAuth2 does not work for 1 second value #30972
Open
Description
SubTasks
With new changes in PR #30866, we have introduced a new field for expires_in in Authenticated API OAuth2 datasource. When we enter value of 1 second in this field and authorise the datasource, all queries created for this datasource, start failing with error message of "Access token has expired"
Ideal solution would be set a minimum value for this field so we never run into such issues.
Check the failing test case in #30866 (comment)