Ios Get Apple Id Programmatically
Head over to your apple developer account certificates identifiers and profiles key and add a new key name it what ever you want to check sign in with apple and press configure.
Ios get apple id programmatically. Heitor nov 9 15 at 6 25. Also in the oauth code flow configuration section specify your apple team id and. Specify the service id you created in the previous section.
Let s start small with ios first. On the sign in method tab enable the apple provider. Nsstring uuidstring uuid uuidstring.
There are no apis that allow an ios app to fetch this information. Just copy paste the id and use the following url in your web browser. I am using the following code to get udid of ios device.
Afaik this is the only trustable unique id you can get in apple world. Add sign in with apple capability in xcode. This will keep the compiler from generating the warning.
The jp in the above link stands for japan. But output i get is different from actual udid of my device. Then link that key to your project s bundle identifier.
This post is based on xcode 11 beta 5 and current available documentation. From apple documentation sign in with apple is available for any apps ios macos tvos and watchos as well as website through a javascript code to integrate. Your apple id is the account you use for all apple services.