[Task]: REST API & GraphQL OAuth2 response - Add support for expiresAt key #33900
Labels
Integrations Pod General
Issues related to the Integrations Pod that don't fit into other tags.
Integrations Pod
Issues related to a specific integration
OAuth
OAuth related bugs or features
Task
A simple Todo
SubTasks
In our codebase we are only relying on expires_in or expires_at keys in the response to check for expiry time. We should update the code for handling the expiresAt key as well which will help all our customers automatically refresh their token without the need for explicitly adding the expiry time as an input.
Code references
appsmith/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/OAuth2Utils.java
Lines 17 to 18 in 6d8c38f
appsmith/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/Authentication.java
Lines 20 to 21 in 6d8c38f
The text was updated successfully, but these errors were encountered: