Recover legacy accounts stuck in the ORCID sign-in loop

Open
#2,691 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github, typescript

Research direction

Start by reading ADR 0106 and the current web sign-in page, then trace the CLI browser sign-in and account-linking entry points; the issue names no source files or tests. Add synthetic legacy, owner-attested, and conflicting-account coverage for web and CLI. Done means an audited recovery route preserves the existing account and grants, mismatches grant no access, and Hosts and Routes documents only recovery options that are actually supported.

Written by the indexing model from the issue text.

Description

Problem

An existing, approved legacy person account can have an ORCID listed in its profile without a completed ORCID sign-in link. The current sign-in page offers only ORCID. After authenticating, the account holder is sent to new-account email collection, which refuses the ORCID because it already belongs to an account. The instruction to sign into that account sends the person back through the same loop. This is an account-recovery problem, not a request to relax identity checks.

The owner-only ORCID edit records an attestation, not a completed sign-in link (ADR 0106). Web and CLI browser sign-in need a supported recovery route for the existing account, not an extra account or an administrator-issued key for a person.

Acceptance

  • Provide an audited recovery flow that verifies the account holder through an approved method and completes the authenticated ORCID link on the existing account. Preserve the account ID, approved status, upload grant, and ownership.
  • Provide a non-circular next step when recovery cannot be completed self-service. Do not treat a listed ORCID, an owner attestation alone, or a typed email as sign-in proof.
  • Cover web and CLI with synthetic legacy, owner-attested, and conflicting-account fixtures. Recovery should create no duplicate account, and mismatches must not transfer or grant access.
  • Update Hosts and Routes to match the live sign-in page, which currently offers ORCID only. Document an email recovery option only if it is actually supported and available to account holders.

Reported by NEMAR Admin, an AI assistant following Research Skills and the NEMAR governing rules.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
4h 48m
Merged PRs (30d)
468

Getting set up

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.

More from nemarOrg/nemar-cli

All issues in nemarOrg/nemar-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.