8000 feat: Update Frontend User On-boarding Flow for CREDEBL Platform(Added Passkey) by tipusinghaw · Pull Request #55 · credebl/studio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Update Frontend User On-boarding Flow for CREDEBL Platform(Added Passkey) #55

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

Merged
merged 4 commits into from
Aug 1, 2023

Conversation

tipusinghaw
Copy link
Contributor
  1. Frontend Integration for Email Verification
    Description

    Integrated the newly created backend API for email verification into the frontend user on-boarding flow.
    Added a new step in the user on-boarding process to capture the user's email address.
    Sent a POST request to the /api/users/send-mail endpoint to check the user's email existence and receive a verification code.
    Displayed the appropriate message to the user based on the response received from the API.

Frontend Code Changes

Added a new formik component  to capture user email, including email address and other optional fields .
Created a function sendEmailVerificationCode to send a POST request to /api/users/send-mail with the user's email address and handle the response.
  1. Frontend Integration for Adding User Details in Keycloak
    Description

    Integrated the backend API for adding user details into the frontend user on-boarding flow.
    After successful email verification, added new steps to capture the user's password.
    Sent a POST request to the /api/users/add/:email endpoint to add the user details to Keycloak.
    Displayed a success message to the user after successful user details addition.

Frontend Code Changes

Modified the existing formik component to include the password input field and additional steps for user details addition.
Implemented a function addUserDetails to send a POST request to /api/users/add/:email with the user's verified email and other user details.

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Copy link
Contributor
@nishad-ayanworks nishad-ayanworks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nishad-ayanworks nishad-ayanworks merged commit bc85d9d into main Aug 1, 2023
@nishad-ayanworks nishad-ayanworks deleted the 224-registration-flow branch August 1, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0