Question

Use CloudKit Web Services' authentication flow in combination with Zapier

  • 21 December 2020
  • 3 replies
  • 204 views

Hi all,

I'm developing a Mac app that uses CloudKit as its back-end. Some of my users are requesting the ability to ingest and extract data via an automation/integration service such as Zapier. For this, I need to introduce a web API.

I am planning to use CloudKit Web Services to access the app's data. This data is user-specific and hence, resides in a private database. As a result, CloudKit requires user authentication as described here.

Essentially the user needs to be redirected to an Apple-hosted authentication page. After successful authentication, an authentication token is provided that can be used for data operations. Similar to how OAuth2 works, but different enough to not work with Zapier's (or probably any other similar services) supported authentication schemes.

Who has done something similar? What are my options? I want to keep things as simple as possible and make my web API's implementation as thin as possible.

Thanks.

Niels


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +10

Tagging @ikbelkirasan as he can probably help here.

Userlevel 7
Badge +9

Hey @ikbelkirasan any insight into this one? Also, @nielsmouthaan are you still running into issues here? Let us know! Would love to collaborate on a solution. 

Priorities shifted a bit so haven’t been diving into this yet. But my question is still valid.

What would be perfect for me is a Zapier SDK that I can import into my app in order for the user to push data from my app to his/her Zapier account and trigger some sort of process to get the data in his/her system of choice.

Currently I don’t see another way of introducing a custom web API on my end to have Zapier access data, right?