Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Question about public databases #102

Open
yousifKashef opened this issue Oct 29, 2021 · 4 comments
Open

A Question about public databases #102

yousifKashef opened this issue Oct 29, 2021 · 4 comments

Comments

@yousifKashef
Copy link

Is a token required to access the public database of a CKContainer? I ask only shared and private databases are mentioned

@leogdion
Copy link
Member

Yeah public databases aren't supported yet. I'll add that to the roadmap.

@yousifKashef
Copy link
Author

thanks for clearing that up

@leogdion
Copy link
Member

leogdion commented Nov 1, 2021

Just to circle back, this should work though I haven't tested using the standard web auth via Apple ID method but also via a Server-to-Server token. I'm not sure I support the server-to-server token yet. So if you want to test that out feel free but the current Apple ID method should still work. Obviously with a Public db that seems unnecessary hence the server-to-server token.
If you are interested, you can take look at how both methods work here:
https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/SettingUpWebServices.html#//apple_ref/doc/uid/TP40015240-CH24-SW6

@yousifKashef
Copy link
Author

yousifKashef commented Nov 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants