How do I use OAuth2 for Authorization of Google Sheets on Appsmith

Is there a guide to implement OAuth2 for Auth for different integrations?

Reply to this thread for any questions or if you have any trouble working on this.