Welcome to the Angular demo repository for integrating "Sign in with Phone" functionality into your web applications. This repository showcases how you can seamlessly implement phone verification and authentication using our innovative plugin.
Phone Email presents a revolutionary solution for user authentication - "Sign in with Phone". Our plugin enables websites to offer seamless phone number verification to users, enhancing security and user experience. Similar to Firebase phone authentication, our solution embeds a "Log in with phone" button on client websites. Upon clicking, a verification window prompts users to enter their country code and mobile number. After successful verification through OTP sent to the user's mobile, control redirects back to the client website with an access token. Subsequently, passing this access token to the getuser REST API retrieves the verified mobile number.
- Cost-Effective: Minimal or no cost for phone verification.
- Enhanced Security: OTP-based verification ensures secure authentication.
- Seamless Integration: Easy integration into existing web applications.
- Improved User Experience: Streamlined authentication process for users.
To integrate the "Sign in with Phone" functionality into your Angular project, follow these steps:
-
Clone the repository:
git clone https://github.com/phoneemail/sign-in-with-phone-angular.git
-
Navigate to the project directory:
cd sign-in-with-phone-angular
-
Change the configuration: Replace
CLIENT_ID
with your client ID andYOUR_REDIRECT_URL
with your success page URL in theapp.components.ts
file.
To utilize the application:
-
Start the application on Development server :
ng serve
-
Open URL on a browser:
Open your web browser and go to http://localhost:4200/. The application will automatically reload if you change any of the source files.
-
Build:
ng build
The build artifacts will be stored in the
dist/
directory.
Experience the seamless authentication process firsthand with our demo. Our demo provides a live demonstration of the "Sign in with Phone" plugin, showcasing its functionality and ease of use. Explore the demo to understand how the plugin can enhance the authentication experience on your website.
For comprehensive documentation on integrating the "Sign in with Phone" plugin into your Next.js application, refer to our documentation. The documentation provides detailed instructions, code samples, and configuration options to help you seamlessly integrate the plugin into your project.
Visit our website to learn more about our authentication solutions and explore additional features and services. Experience the future of authentication with Phone Email's "Sign in with Phone" plugin. By implementing our plugin, you can elevate the security of your website, enhance user experience, and streamline the authentication process for your users. Embrace the power of phone verification with Phone Email's innovative solution.
Developed by Phone Email