CloudKit JS issue with Advanced Data Protection - icloud

I am using CloudKit JS to allow users to access iCloud data through a web page. It was working fine until I enabled Advanced Data Protection. After enabling ADP (and the "Access iCloud Data on the Web" option), I received this error when requesting to .../production/private/records/lookup?ckAPIToken=...&ckWebAuthToken=...:
reason: "private db access disabled for this account"
​serverErrorCode: "ACCESS_DENIED"
Do I need to update anything? Is there a way to fix this issue? Thank you.

Related

Cloudkit JS - Is there possible to generate Api token dynamically without using iCloud dashboard

I need to access iCloud container private database data from web, so i am using cloudkit js and I can access the iCloud container private data using containerIdentifier and apiTokenAuth.apiToken.
The apiToken is genereated by using iCloud dashboard
But my requirement is I need to get iCloud containter private data which is uploded by different user, that mean my ios developer create a containter using xcode and using the same container name to every user who using my app and when the user upload their data and it'll store into their (user) own icloud container private database.
Okay, in this scenario how I would access private database from web for different user where the apiToken not generated before anywhere?
Is it possible to generate ApiToken using xCode? like containter id!
Or any other way to access iCloud database? like cloudkit js!
Or any other way to generate iCloud api token using REST API's? Using apple user credentials
I am not IOS developer, so if any mistake on my understand, Sorry!
This question is a little old, so sorry if you've already figured this out. But here's my input on your questions:
The only way to generate an API token is through the CloudKit Dashboard.
You can access iCloud database through the Swift APIs and the CloudKit JS API, yes.
Yes, you can access CloudKit through their Web Services APIs here: https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/index.html#//apple_ref/doc/uid/TP40015240-CH41-SW1
I hope that helps!

Xcode 6.1 won't let me access CloudKit Dashboard

After everything had been set up for CloudKit, with provisioning profiles and CloudKit container set up, I still get the message,
There are no CloudKit enabled apps associated with this AppleID. Contact your team administrator...
when trying to access the Dashboard. I had previously tried everything, from renaming my entire project to making sure I was signed into iCloud before trying. All of the 'check boxes' were checked in the iCloud part of the Capabilities section.
The solution, as it turns out, is that only team administrators themselves can access the Dashboard. My professor made an administrator and it worked. I never explicitly saw this anywhere on posts or in Apple documentation.
I had the same message in cloudKit dashboard, it turned out I was logged in with a different appleID.
Additionally, the bundleID and containerID you point to must all be consistent with the Container name.

TikiWiki Login Error Message

I just finished installing Tiki Wiki on my server (standard Hostgator account), and was able to log in as an admin. I am trying to create a new file gallery, but I keep receiving this error when I fill out the gallery settings and hit the "Save" button:
Youre are not logged in. Go to the Log In Page.
Problem is, that doesn't make sense. How could I even access the admin interface to create a new file gallery if I wasn't logged in as an admin!?
Any ideas what's going on, and how to fix it?
Thanks,
Lukas
Additional information would be helpful:
- What Tiki version?
- Are you storing Tiki session info in DB or File System?
- Did you turn on Tiki error reporting, and is anything shown?
- Are there any errors in your server log?
For best support, try the Tiki forums: http://tiki.org/forums

is there a single permission type to access all data

Recently, I have noticed applications requesting permission for "all" data rather than listing multiple items when I authorize the app (ie - manage_pages, user_photos, etc).
Does anyone know what permission type requests access for all data?
Thanks
There is no permission for all data, you are likely just talking about the first page of the dialog?

Offline testing of OpenGraph / 'Like'

How can I test the 'Like' button functionality and OpenGraph data embedded in my pages while my site is not publicly accessible?
I have an internal test environment where my site is being built and tested. The environment is locked down by IP to a certain set of machines. I want to be able to verify the end-to-end scenario of performing a 'Like' and seeing the parsed OpenGraph data on a user's Timeline without having to open up my site to public access.
I know there's a user agent for the Facebook crawler, but allowing by user agent is risky as anyone can send any user agent string. Ideally, I'd like to lock it down to Facebook's crawler's IP range without having to parse logs to find what one or two of those IPs might be (I assume there's quite a few machines crawling the web for data).
My problem today is that I can click 'Like' and have it show up with a plain URL back to my site, but the crawler can't reach me since the page effectively doesn't exist for it when it hits my server.
How can I test the 'Like' button functionality and OpenGraph data
embedded in my pages while my site is not publicly accessible?
You really cannot do that. It has to be lint-able by Facebook. See: https://developers.facebook.com/tools/lint Be sure your page is publically avaible and able to be linted by the facebook linter tool.
This works fine with four social network previews: https://chrome.google.com/webstore/detail/open-graph-preview/ehaigphokkgebnmdiicabhjhddkaekgh?hl=es
It doesn't support the like button, just the preview.
From my localhost...as "proof of solution"