CDLUC3 / CDLUC3/dmptool-ui

Add step to allow users to change organizations if our automatic matching assigns them to the wrong institution

Open
#577 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1d 14h
Merged PRs (30d)
11

Description

Currently, we assign a user automatically to an institution based on their email domain, and if that org has SSO, we offer to sign up with SSO:

Image

They can choose to create an account without SSO, but if they are part of a different org that has SSO, they'd be missing out on it. Instead, we want to offer them an option to change their organization and try again.

My suggested path is another link on that page to indicate you have a different organization. If they click it, they can a page like the register page below but with the Institution drop-down option as well. From their they can add their correct institution and click Continue.

Image

If that org has SSO, they'll be brought to a page like the top one for their correct org SSO, and if they don't have SSO, then they'll get the regular account creation page.

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 by locating the registration page and the automatic email-domain organization matching and SSO decision point. Add the alternate-organization path described in the issue, including institution selection and continuation into the correct SSO or regular account-creation flow; done means users can recover from an incorrect automatic match.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
authentication, frontend
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.