Learn how and when to return users to Link for additional actions.
We'll be updating our Sample App Github repositories for API v2 and Link 5 in 2023 Q3.
Users connect their payroll accounts via Argyle through our front-end application, Argyle Link.
There may be times when you want to allow users to return to Link to take additional actions, such as:
- Completing required multi-factor authentication (MFA)
- Connecting additional payroll accounts
- Managing previously connected accounts, including revoking access
- Making a direct deposit update
Returning Users sample app#
You can find a live demo of how users experience the Argyle Link reconnection process in our Returning Users sample app.
Re-creating the sample app#
Visit our in-depth Returning Users Guide to learn how to re-connect users in Argyle Link.
Use the sections below if you would like to quickly re-create the returning user scenarios from the Returning Users sample app.
Adding and managing connections#
Re-connect a user to Argyle Link by replacing the
userToken in the sample Argyle Link initialization code below:
If no additional Argyle Link Customizations were added, by default the user will be taken to an introductory screen followed by the secondary account connection screen shown in the Returning Users sample app demo.
The account connection screen will show any accounts the user has already connected, and allow the user to search for and connect additional payroll accounts.
If an existing connected account is selected by the user, the revoke access screen from the Returning Users sample app demo is shown.
Direct deposit switching#
Visit our full Direct Deposit Switching Guide for more information.
If you want the user to return to Argyle Link in order to add or update their direct deposit, add the following two lines to your Argyle Link initialization:
1payDistributionUpdateFlow: true, 2payDistributionConfig: "Your payDistributionConfig goes here"
More information on creating a
payDistributionConfig can be found here in our direct deposit switching guide.
For this example, we will use the
payDistributionConfig for full paycheck re-allocation testing in Sandbox that can be found here in the direct deposit switching guide:
The Argyle Link initialization for a returning user with direct deposit switching enabled will look like this for our current example:
Using this initialization, after the user selects a connected account in Argyle Link they will find the direct deposit update button is enabled.
Direct account re-connections#
You can bypass allowing the user to connect additional accounts or having to select an existing account before taking further action.
To re-connect a user directly to an existing payroll account they have already connected through Argyle Link, visit our deep-linking guide.
Reach out to your Customer Success Manager, an Account Executive, or the Support Team for help connecting and re-connecting users through Argyle.