BasicNative icon indicating copy to clipboard operation
BasicNative copied to clipboard

💡[Feature]: adding login logout feature

Open itznayan opened this issue 1 year ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Feature Description

The Login/Logout feature will allow users to authenticate themselves using a username/email and password . Upon successful login, the app will store the user’s session securely, enabling the user to access personalized content, data, and features. The user can log out at any time, which will terminate the session and prevent unauthorized access to the app's sensitive features.

Use Case

Login: A returning user opens the app and is presented with the login screen. They input their username and password (or use a third-party service) to authenticate. Once logged in, the app shows personalized data such as their profile information, saved preferences, or user-specific content.

Logout: After using the app, the user decides to log out. They tap the "Logout" button, which ends their session, ensuring that no personal data is accessible to others who may use the app on the same device.

Persistent Session: The user logs in once, and the app remembers their session for future launches, meaning they won’t have to log in every time they open the app unless they manually log out.

A login screen for users to enter their credentials. A session management system that securely handles user data (e.g., using secure storage or token-based authentication like JWT). A logout button/option in the app’s UI that allows users to end their session. Use Case

Benefits

Security: The login/logout feature ensures that user data and sensitive features are protected by restricting access to authenticated users only. This is crucial for apps handling personal information or private data.

Personalization: After logging in, users can access personalized content such as saved preferences, user profiles, and previously stored data.

User Retention: Users are more likely to return to the app when they have secure, personalized experiences. Having accounts can also help track user engagement and provide more targeted content or services.

Add ScreenShots

Screenshot_2024-10-07-17-10-03-322_host exp exponent Screenshot_2024-10-07-17-10-00-929_host exp exponent

Priority

High

Record

  • [X] I have read the Contributing Guidelines
  • [X] I'm a GSSOC'24 contributor
  • [X] I want to work on this issue

itznayan avatar Oct 07 '24 11:10 itznayan

Congratulations, @itznayan! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

github-actions[bot] avatar Oct 07 '24 11:10 github-actions[bot]

I would like to work on it.

BhavikaPachauri avatar Oct 07 '24 17:10 BhavikaPachauri

I want to work on this as i have work on a react js app where i authenticate the user by otp and build a clear clean ui

refrence : https://sawanauthportal.netlify.app/

Sawan-Kushwah avatar Oct 08 '24 06:10 Sawan-Kushwah

@smilewithkhushi please provide labels.

itznayan avatar Oct 28 '24 19:10 itznayan

I solve this issue and i will give best login and logout system. Please assign this take to me

Balaji1810psna avatar Sep 12 '25 06:09 Balaji1810psna