Give your customers a simple way to register on your platform without much data.
Learn how it works and how to configure it.
The first thing we have to do is go to the account we have in https://developer.apple.com/account/resources/certificates/list.
We will go to our Apple account, and the following screen will open, and we will choose the Certificates, Identifiers & Profiles option.
When you click on that option, a screen like the following will open.
We are going to select, from the menu on the left, the "Identifiers" option, and we are going to click on the blue icon with the + sign.
We select the option: App IDs and click on Continue.
On this screen, we will put the name of our App in the Description part, for example, "newtestingapporder" and the Bundle ID; an example would be "com.newtestingapporder.app."
We will select the option: Sign in with Apple and click on the button that says "Edit."
In the popup that will appear when we click on the Edit button, we will leave the option that seems to be selected, "Enable as a primary App ID," and we will leave the following field empty and click on Continue.
You can see the new App you added to the list.
Next, we have to add another identifier, only this time; it will be different; click + again.
But in this case, we will select the Services IDs option and click on Continue.
The following screen will appear; here, you must put a name in the description and an identifier and click on Continue.
When you click on continue, a screen will appear with information about the new Service IDs we have just registered.
You will click the option as it appears in the photograph.
On this screen, click on Register.
Select the Sign in with Apple option.
Click on Configure.
In the pop-up, select our app's name in the dropdown.
In the following fields, put the domain name, and in the next one, the domain name + /login/apple/callback and click next.
P.S.: The second link must have "HTTPS://" before the domain, for example, "https://sourcedemo.tryordering.com/login/apple/callback".
A confirmation with data will appear, and you will only click on save.
Click on All Identifiers.
Click on the blue button with the + icon.
Write the name of the new key.
Choose the Sign in with Apple option and click on Configure.
Select the app that we registered in the dropdown.
And we are going to click on the Download button, and for that file that is downloaded, we will save it because we will need it later.
Go to our Build and search for our project and click on Edit.
Click on Build and look for "Constants"; we will copy the "Apple app ID."
PS: the ID most be on this format TEAM ID + APP identifier, example LXXXXXXXXF.com.demo.orders
Remember the file we downloaded a few steps earlier?
This is where you use it, we're going to go to our downloaded files (or where you downloaded the file), and we're going to open it.
When we open the file, we are going to do is delete the first and last lines. It will be something like this.
Later, we will convert those lines of code into just one line to look like this and copy it.
It's just removing spaces between one line and another.
We are going to open our Dashboard, and we will go to Settings> Operation Settings> Apple Login.
The code that we converted into a single line, we are going to paste it where it says: Apple Private Key.
We will return to the Apple page, get in Keys, and click on the Key we created.
Let's copy the code from Key ID.
Paste this code in the field: Apple Private ID.
On the Apple page, we will click on Identifiers, look for the app we created, and click.
We will copy the Bundle ID code on this screen that appeared after clicking on the app.
We will paste that code into our Dashboard's Apple Bundle ID field.
Copy the Identifier from our Service ID.
Paste it into our Dashboard's Apple Login ID field and give the Save configuration.
The last step is in our Dashboard, inside Operation Settings; click on Login and Signup Settings.
Look for the field that says: Allows to use Apple Login on a site, and click on the dropdown and choose the YES option, and that's it! Save the changes.
Now, go to our website, click Signup, and voilà! The option to register through Apple will appear on your Ordering Website.
What your clients need, we have it.