Open SreelakshmiV12 opened 2 years ago
@SreelakshmiV12 are you working with some 3rd party API or an internal API? With most 3rd party APIs like google, I've seen that you may need to request offline access in the scopes of the API https://developers.google.com/identity/protocols/oauth2/web-server#offline
Do re-open this if you're still facing this issue
I am using zoho books as authenticated API data source on self-hosted instance of latest Appsmith. We are getting the same issue as described above.
@jessydm have you tried requesting for offline access? We would be happy to debug the issue with you
Yes...the offline access was requested. Everything works fine till Token expires and one it expires, the only way to make it work is to go back to data source and reauthorize it.
On Fri, Nov 15, 2024, 3:04 AM Nikhil Nandagopal @.***> wrote:
@jessydm https://github.com/jessydm have you tried requesting for offline access? We would be happy to debug the issue with you
— Reply to this email directly, view it on GitHub https://github.com/appsmithorg/appsmith/issues/15244#issuecomment-2478460026, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSV2OCN64DT73TEJY3XVZ32AXBKBAVCNFSM6AAAAABRX35RUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZYGQ3DAMBSGY . You are receiving this because you were mentioned.Message ID: @.***>
For sake of issue, I use this datasource on Zoho Books API
Hey @jessydm, we apologize for the inconvenience caused. Can you please share some more details about this issue to help us debug this better. You can do so by sending an email to support@appsmith.com
The details we require would be:
Is there an existing issue for this?
Description
I have created a datasource with Authentication Type: Oauth 2.0 and Grant type : Authorization code, and saved the datasource in my app. When I tried to run an API using this datasource, it failed because access token was expired within 1 hour. So I need to re-authorize datasource in every hour to run the API. I need to know that how to re-authorize without coming to datasource.
Steps To Reproduce
Public Sample App
No response
Version
Appsmith v1.7.8