Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openspark v2 - OTP workflow after signup & API Integration #3059

Open
7 tasks
emmayank opened this issue Jan 23, 2025 · 0 comments
Open
7 tasks

Openspark v2 - OTP workflow after signup & API Integration #3059

emmayank opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels
enhancement feature request

Comments

@emmayank
Copy link

emmayank commented Jan 23, 2025

Description

Implement the OTP verification workflow for OpenSpark v2 to ensure user authentication after signup and login. The workflow should:

  1. Navigate users to the OTP verification page after a successful signup.
  2. Integrate the Verify OTP API for OTP verification.
  3. During login, check the otpVerified flag:
    • If false, navigate the user to the OTP verification page.
    • If true, allow access to the application.

Goals

  • Navigate the user to the OTP page after successful signup.
  • Integrate the Verify OTP API for OTP verification.
  • During login, check the otpVerified flag and handle redirection accordingly.

Expected Outcome

The OTP workflow ensures users complete OTP verification after signup and login if the otpVerified flag is false.

Acceptance Criteria

  • Users are redirected to the OTP page after successful signup.
  • The Verify OTP API is integrated for OTP validation.
  • During login, the otpVerified flag is checked:
    • If false, users are redirected to the OTP page.
    • If true, users are allowed access to the application.
  • Proper error handling and user notifications for OTP verification failures.

Mockups / Wireframes

NA

Product Name

Beckn

Domain

TBD

Tech Skills Needed

  • React/Frontend Development
  • API Integration
  • Authentication Workflow

Complexity

Medium

Category

Frontend Development

Sub Category

Feature Implementation

@emmayank emmayank added the enhancement feature request label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request
Projects
None yet
Development

No branches or pull requests

2 participants