When I use the cloudkittester app in CloudKit, my Apple ID works fine and logs me in without any issues. However, when I try to do a web-based login using the URL https://api.apple-cloudkit.com/database/1/[container]/[environment]/[database]/users/current?ckAPIToken=[API token] and redirecting to the returned redirectURL, Apple responds with the error:
Authentication Error
Please try again.
I know the login is correct, so I'm not sure why the authentication is failing. Is there a separate flag somewhere in CloudKit I missed? Thanks