FightPandemics / FightPandemics-Telegram

1 stars 6 forks source link

FP Chatbot on Telegram- Login integration and Signup flow #5

Open anjanarao24 opened 4 years ago

anjanarao24 commented 4 years ago

User Story: As a FightPandemics chatbot user, if I am not logged in/signed up and if I am trying to View My Posts, View My Profile, Comment and See Comments, then I should be asked to Login/Signup along with an option to Skip.

As a user, once I login or sign up, I want to continue with what I had been doing before needing to login so that I can complete what I was trying to do (and don't get confused).

Use Case 1: User taps on Login/Signup button.

When I tap on the login/signup button, Then, I should be asked to enter my email address, When I enter my email address, Then the bot should ask for my password, When I enter the password and if the password and email address are correct, Then I should be logged in. OR When I enter the password and if the password and email does not match, Then I should see the following message : "Sorry your password or username was incorrect. Please try to login again." along with 3 buttons "Login" "Go back to Main Menu" "Skip"

During login process, there needs to be a way to track what the user was doing before the login/authentication process so that they can go back to what they were trying to do.

Example:

Areas needing login:

Use Case 2: User taps on Skip button.

When I tap on the skip button, Then I should see the following message "Without Login/Signup you wont be able to comment, create a post or connect." as well as the following buttons:

Wireframe: Miro board Notion Documentation: https://www.notion.so/fightpandemics/Chatbots-Task-Board-bfe76e786f78437cba348739899cf7da?p=630e6043b7864146b87ce8857608e352

API Integration Login: POST /api/auth/login Signup: POST /api/auth/signup

Acceptance Criteria:

omerkhan3 commented 4 years ago

API Integration

Login: POST /api/auth/login Signup: POST /api/auth/signup

kumudchauhan commented 3 years ago

Login Integration is completed. Signup is on to-do list.

kumudchauhan commented 3 years ago

This user story is not updated for signup.