Apple Auth Configuration for Embedded Wallet
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.
Create App Identifier
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.
Create App ID
Provide the following in the form:
- Description
- Bundle ID: This is the unique bundle identifier for your iOS project. If you are configuring for a web application, you can provide a placeholder value.
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.
Configure Web Services ID
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:
- Description
- Identifier: This will be the client ID for your web application that you use to identify in the SDK and Sequence Builder.
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:
- Primary App ID: Select the App ID you created earlier.
- Domains and Subdomains: A list of domains that will be whitelisted for interacting with this Services ID.
- Return URLs: A list of redirect URIs that the user will be redirected to on successful authentication, Sequence SDKs will by default redirect to the same page that loads the SDK.
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.
Get Your Client ID
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.