Login Component
Our login component provides a simple means to incorporate secure user authentication into Mobile apps. Easily tailor the login UI to fit your project's needs with various customization options.
Last updated
Our login component provides a simple means to incorporate secure user authentication into Mobile apps. Easily tailor the login UI to fit your project's needs with various customization options.
Last updated
To unlock early access to the component Get Access
To install the Quest react-native-sdk
into your project, follow these steps:
Open your terminal/command prompt.
Navigate to your project's root directory using the cd
command if you're not already there.
Run the following command to install the quest-sdk
package using npm:
This command will download and install the package and its dependencies into your project.
Make sure your project has npm and Node.js installed, and that you have the necessary permissions to install packages in your project directory.
The QuestLogin
component accepts the following props
googleClientId
string
optional
The Google Client ID for OAuth 2.0 authentication.
redirectUri
string
optional
The URI where users will be redirected after authentication. Ensure that this URL matches the one configured in your OAuth provider (Google Console).
redirectURL
string
optional
The URL where users will be redirected after authentication.
mainViewStyle
ViewStyle
optional
Main View Styling
headerTextStyle
TextStyle
optional
Header Text Styling for Welcome Back
headerTextStyle2
TextStyle
optional
Header Text Styling for Please Enter Delails Text
ContinueBtnViewStyle
ViewStyle
optional
Continue Buton ViewStyle
ContinueBtnTextStyle
TextStyle
optional
Continue Button TextStyle
GoogleViewStyle
ViewStyle
optional
Google Button ViewStyle
GoogleTextStyle
TextStyle
optional
Google Button TextStyle
headerTextStyle3
TextStyle
optional
Header Text Styling for Please Enter Otp Text
OtpTextStyle
TextStyle
optional
Otp Label TextStyle
OtpContViewStyle
ViewStyle
optional
Otp Input ViewStyle
OtpInputTextStyle
TextStyle
optional
Single OtpInput TextStyle
VerifyBtnViewStyle
ViewStyle
optional
Verify Button ViewStyle
VerifyBtnTextStyle
TextStyle
optional
Verify Button TextStyle
To integrate the Feedback
component into your React application, follow these steps
Import the Feedback Component: Import the Feedback
component from the @questlabs/react-native-sdk
package.
Import the QuestProvider Component: Import the QuestProvider
component from the @questlabs/react-native-sdk
package.
Replace "your-api-key"
, "your-api-secret"
, and "your-entity-id"
with your actual Quest API credentials
Replace "your-google-client-id"
, "your-redirect-uri"
, and "your-redirect-url"
with your actual configuration details.
Here's an example of how to use theLogin
component within your React application
The above example uses all the props.