Learn how to configure Apple auth for your Embedded Wallet by creating an Apple client in the Apple Developer Console. Follow step-by-step instructions to create App Identifier and App ID for iOS or web applications.
In order to have Apple auth integrated into your Embedded Wallet instance, you should configure an Apple client in the Apple Developer Console. Depending on whether you are integrating Embedded Wallet into an iOS or web application, you should pick the correct configuration accordingly.
To start with, access the Apple Developer Console and navigate to Certificates > Identifiers. Once there, click on the +
button to create a new identifier.
Whether you are configuring for an iOS application or not, you need an App ID. Select App IDs and click Continue.
Provide the following in the form:
Before you continue, you will need to enable the Sign In with Apple capability for the App ID. Scroll down to the Capabilities section and enable the Sign In with Apple capability.
Click Continue, and then Register to create the App ID.
At this stage if you are configuring only for an iOS application, you can skip the next section and proceed to using your Bundle ID as your Client ID in Sequence Builder.
If you are configuring your Client ID for a web application, click on the +
sign on the Identifiers section and select the Services IDs option. Click Continue.
Then provide the following in the form:
Click Continue, and then Register to create the identifier.
Once created, click on the identifier that’s now listed in the Identifiers section. You will now need to configure the domains and redirect URLs for the Services ID. To do so, click on the checkbox next to “Sign In with Apple” and then click on the Configure button.
On the Web Authentication Configuration modal, provide the following:
Apple Auth won’t work without https
when testing locally. If you are registering a localhost address, we recommend that you use a tool such as ngrok to create a secure tunnel to your local server and use the https
URL provided by ngrok.
Click Next, and then Done to complete the configuration, don’t forget to click Continue to save the changes.
Finally, add this new Service ID to your Apple configuration in Sequence Builder, which will now have two entries: one for the Bundle ID and one for the Service ID.
If you ever need to update the domains or redirect URLs for the Services ID, simply editing the identifier won’t work. Due to aggressive caching by Apple, you will need to delete the identifier and create a new one with the updated values.
As mentioned above, for an iOS application, you can use the Bundle ID you created as your Client ID in Sequence Builder. For a web application and Android application, you can use the Service ID you registered with Apple.