Skip to content

[Task]: Expires_in field added in OAuth2 does not work for 1 second value #30972

Open
@sneha122

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)

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingIntegrations ProductIssues related to a specific integrationMedium effortTakes < 2 weeksQuery & JS PodIssues related to the query & JS PodREST API pluginREST API plugin related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions