RealDevSquad / RealDevSquad/website-backend

Enhancement Request: Update SignIn with Mobile to Handle Query Parameters and Redirect to Mobile App

Open
#1,559 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Issue Description:

Background:
Currently, our SignIn with Mobile functionality does not handle query parameters and does not provide a smooth transition to our mobile app. This issue aims to enhance this feature to make it more user-friendly and seamlessly redirect users to our mobile app while passing necessary query parameters.

Feature Request:

Handling Query Parameters:

Currently, our SignIn with Mobile process doesn't allow for the inclusion of query parameters. We should update the functionality to accept a query parameter named rds-mobile-app in the URL when initiating the sign-in process.
Redirect to Mobile App:

Once the user has successfully signed in, we want the system to automatically redirect the user to our mobile app.
Passing Query Parameters to Mobile App:

Additionally, we should ensure that any query parameters provided during the sign-in process are passed along to our mobile app. This will enable our app to provide a more personalized and seamless experience for the user.

Expected Behavior:

When a user clicks on the "SignIn with Mobile" option and is redirected to our authentication page, they should have the option to include query parameters in the URL, specifically rds-mobile-app.

After successful authentication, the user should be seamlessly redirected to our mobile app.

Any query parameters included during the sign-in process should be passed to our mobile app so that it can provide a tailored experience.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the SignIn with Mobile authentication entry point and trace how the sign-in URL and successful-authentication redirect are handled. Verify the rds-mobile-app query parameter and its values through the flow; the work is done when successful sign-in redirects to the mobile app with the requested parameters preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
api, authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.