iCloud Web Service Server-to-Server Authentication in PHP


Was it just me, or is there a wider need for a PHP implementation of Apple's iCloud JS library? Specifically the parts needed for server-to-server integration with iCloud not relying on Javascript on the server.

As my recent research and experiences have shown, it has become impossible to do a third party implementation of the server-to-server iCloud web-service based on Apple's documentation, examples and most of what had been written about it at (CloudKit Server-to-Server authentication and not in the most upvoted answers either, shockingly).

Despite being a raw PHP noob (C and Erlang are my languages,) I have managed to put together a few classes that successfully authenticates with an iCloud container using server-to-server keys registered in that container through the iCloud dashboard.

If anyone wants to use the code, or preferably take it a bit further into an actual library that brings the server-to-server parts of iCloud JS to the PHP server environment, I'd be happy to share. I'm just a little shy about my ineptitude with the new language, so you'd need to work around that.

People are also looking for solutions to the problem: php - process popup on ajax and don't display on html

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.