Skip to content

FE: Integrate university login flow in frontendΒ #52

@onlydustapp

Description

@onlydustapp

πŸ“š Overview

Implement the university login flow in the frontend by integrating the required authentication endpoints. This will enhance the user login experience by validating credentials, OTP, and wallet connection.

πŸ› οΈ Detailed Requirements

  1. Login Flow (/login route):

  2. OTP Verification (/otp route):

    • Validate the OTP using the following endpoint:
    • Implement a mechanism to handle OTP errors gracefully.
  3. Resend OTP:

    • Provide functionality to resend the OTP if required using the endpoint:
  4. Wallet Verification (/verify route):

    • After OTP validation, require the user to connect their wallet to fully validate the login using the endpoint:

πŸ”§ Technical Considerations

  • Routing: Ensure the routes (/login, /otp, /verify) are correctly set up and transitions between them are smooth.
  • Error Handling: Implement proper error handling and user notifications for each authentication step.
  • State Management: Maintain the state between steps (password login, OTP, and wallet connection) to ensure a secure and seamless flow.
  • Security: Ensure secure transmission of data when interacting with the API endpoints.

πŸ“– Additional Resources

For more context on how Certiva manages authentication and user flows, please refer to the README. πŸŽ“πŸ”—

Let's ensure this integration is robust and user-friendly! πŸš€

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions