mulesoft / google-calendar-connector

Mule connector for Google Calendar API
Other
3 stars 4 forks source link

Service Accounts and Google Calendar #4

Open krishananth opened 10 years ago

krishananth commented 10 years ago

Hi,

I would like to use Mule Calendar and use Google Service Accounts for user impersonation. It seems the Calendar Connector forces the calling request to provide authorization (3 legged).

1) How do we use Google Service Accounts and Mule Calendar Connector? 2) When the Mule Calendar Connector authorizes an user, the OAuthAccessToken that is set on the header is not the actual OAuth Token returned (when I used Calendar connector version 1.2.4, it returned the connector name). Does Mule stores them in any ObjectMemory store? 3) For Get Events by Id method returns org.mule.streaming.ConsumerIterator. When I checked the size from the iterator, it returns -1. The next() method simply hangs! 4) Its not clear on what version of google library it uses. For example, the Mule Connector 1.2.4 (provided with Anypoint Studio 3.5) has google libraries which are of version 1.10 (google oauth library, google http client library, etc). But the latest from Google is 1.17.

Could you please let me know on the above questions?

Thank you,

Ananth Krishnan

prasadnadendla commented 9 years ago

Hey, I'm trying my best to find answers for the above questions.Please do let me know if you got any solution