Automate Sign-in Flow
Enhance user satisfaction with automated sign-in using Appetize! Automate the process to save time and reduce friction.
Last updated
Enhance user satisfaction with automated sign-in using Appetize! Automate the process to save time and reduce friction.
Last updated
Automating the sign-in flow refers to the process of enabling your mobile application to perform the sign-in or authentication process automatically, without requiring manual intervention from the user. Instead of users having to enter their credentials (e.g., username and password) each time they access the app, automation allows the app to handle this process programmatically.
There are a lot of use cases where this could be invaluable e.g. for call center agents, reducing the time to access the right screen can boost productivity and improve customer service.
There are various ways to achieve sign-in automation, but in this document we will focus on our two recommended approaches:
With launch parameters, developers can pass authentication information as part of the app's URL or via our JavaScript SDK when opening it. The app then extracts the provided credentials and automatically signs the user in.
Most seamless experience for users
Requires mobile development work
Make use of to pass user credentials (e.g. username/password or authentication token) to your Application.
The data will be passed as extras into the intent that launches your app e.g.
Determine how you will pass the credentials to the Appetize client and session:
Using our UI automation functionality, developers can script the steps a user takes during the sign-in process. These steps are then replayed automatically whenever the app is launched, mimicking the user's interactions to achieve sign-in.
No development work required to imitate user behavior.
Generally slightly slower and less streamlined compared to Option 1.
Determine how to retrieve the credentials e.g. via inputs on your Launch Page e.g.
If you have a custom button to start the session, add a function to start the Appetize session
Observe any session change events to invoke the automated steps to authenticate the user
These automated steps are just an example and need to be adjusted to match your actual application
Make use of to automatically navigate to the appropriate screen to reduce the time to load e.g. if your app has a welcome screen or an onboarding flow, you could skip that by launching directly into the login screen e.g.
Can also be used in conjunction with our other features such as or to get an even more streamlined experience (especially useful if the apps already have existing support for deep links)
Set up your Launch with our .
Run the automated steps to authenticate the user with the credentials that was provided. See for more samples on how to interact with the session:
For a more complete example on how to automate the sign-in flow with our JavaScript SDK, see our in our .