-
Notifications
You must be signed in to change notification settings - Fork 28
Registration
The registration consists of both Login and Sign-Up. Login screen is used to enter the app by pre-registered users, while sign-up screen allows new users to quickly register in-app and start using the Mentorship system!
The login screen features text fields to input 'Username' and 'Password' for authentication. The password field is implemented using a Secure Text Field. It also contains a button that brings up the sign-up screen for new users.
The sign-up screen features text-fields to input required details such as username, password, confirm password, etc along with a picker to select the role (mentee, mentor, both). It also contains the terms and conditions and a toggle to accept them.
The Mentorship iOS app also features two social sign-in options to allow users to conveniently sign-in or sign-up to the app using their Google or Apple account.
The social sign-in buttons are available on the login screen. When a user taps on one of these, the respective provider is called to show its sign-in flow UI which the user interacts with. After the user signs-in on one of the social sign-in provider, the app receives the user's data (name, email, and user_token) from the provider. This data is used as payload and an API cal is made to our backend.
Now, the backend handles the authentication process and returns the response. For a successful sign-in, the Mentorship Backend returns the access tokens for the user, else in the case of an error/failure an appropriate error message is returned. The app uses this response and either signs-in the user (for success), or shows the error message (for fail).
- Home
- Contribute To The Project
Documentation
- Setup and Install
- Tech Stack
- UI Design
- Backend Documentation
- App Architecture
- Main Concepts
- App Features
GSoC Students
- 2020 - Yugantar
- GSoC All Final Reports