Introduction
Here are the step-by-step implementation details to integrate Simple Sign-in (SSI).
Resources provided
- Appstore SDK: Simple Sign-in APIs along with other functionalities, such as In-App Purchasing (IAP), and Digital Rights Management (DRM).
- App Tester: A tool that allows testing SSI integration without publishing apps to the Amazon Appstore.
- SSI Token Library: A Java library to generate and validate link tokens and SSI tokens in your cloud.
- Sample Application (SSISampleApp): A sample Android app to use for code reference, included in the Appstore SDK.
SSI onboarding
Before you can integrate SSI in your app, you need to perform SSI enablement steps in the Amazon Developer Console. This enables you to get the IdentityProviderName (unique SSI ID) used to call the Simple Sign-in APIs in your code.
Step 1: Select your app
Log in to the Amazon Developer Console and navigate to Developer Console > Apps & Services > MyApps. Select the app you want to enable for SSI.
Step 2: Navigate to the App Services page
Step 3: Enable Simple Sign-in
Click on the Enable Simple Sign-in button in the Simple Sign-in section of the screen
Step 4: Locate and use the unique ID
You will get a message that Simple Sign-in was successfully enabled, along with a unique SSI ID in response. Use this unique SSI ID as the IdentityProviderName
for calling Simple Sign-in APIs in your code.
Next step: Changes Required in your App
Last updated: Mar 13, 2023