HAQM Data Portability workflow
From your Application, HAQM customers will use the Login with HAQM button. HAQM displays the Sign in page where customers sign in using their HAQM credentials. The Sign in operation is paired with Transaction Intent Verification to verify HAQM customer’s credentials. If customers sign in, HAQM displays the Authorization page with available LWA Scopes.

On the Authorization page, customers select Allow or Cancel. If the customer selects Cancel, the workflow ends. Your Application won’t have the capability to import that customer's data. If the customer selects Allow, HAQM displays the User Transfer Preferences page.
HAQM Data Portability scopes can be requested by your Application only as voluntary scopes, which means that a customer can choose either to share the information requested or not. By default, all scopes displayed on the Authorization page are unchecked. See Essential / Voluntary Scopes for details.
🚧 Customers are required to select at least one HAQM Data Portability LWA Scope from the list to see the User Transfer Preferences page.
On the User Transfer Preferences page, HAQM provides option for the customers to set the preferences, acknowledge the authorization, and select the Cancel or Authorize button. If the customer selects the Authorize button, it activates the HAQM Data Portability in your Application, providing authorization to import that customer's data. If the customer selects Cancel, your Application won't be authorized to import that customer's data.

Once the customer selects Authorize, you will use the Login with HAQM SDK to get the customer's authorization (OAuth2) code. You will use the OAuth2 code to get access and refresh tokens, which you will need to call the HAQM Data Portability API and import the customer's data in your Application.
🚧 Importing user data in your Application is asynchronous. Please ensure your Application has an HTTPS endpoint.
Want to learn how HAQM provides option for the customers to select what data to consent to?
Proceed to User Transfer Preferences.
If you want to skip the User Transfer Preferences, proceed to Configure the HAQM Data Portability service.
Last updated: Jan 08, 2025