Access iCloud Contacts from Web-App

Is it possible to read a users iCloud contacts with an application running on my web-server, e.g. using CardDav, or is this only possible with an actual App running on the users device? E.g. for Google there is an oAuth2-System where the user can generate an access-token to provide his contacts for a web-application, is there something similar for iCloud contacts? I read that there are application-specific passwords, but if I understand it correctly they are only for local apps and provide no way of limiting which kind of data is available to the application.


Thanks for any hints how I can achieve something like this,

Christoph

You can access the CloudKit database using "CloudKit JS". You can't get the user's contacts unless the user runs an app that has access and permission to their contacts and then stores them explicitly in a file on CloudKit.

@Compufreak did you find answer to the solution. I'm also facing the same issue. I need to allow users to sign in with icloud and allow them to import their contacts

Access iCloud Contacts from Web-App
 
 
Q