mozilla-iam / mozilla-iam/auth0-deploy

Test for connection type presense in `matchOrder`

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
6
Forks
21
Avg merge
17h 49m
Merged PRs (30d)
5

Description

Should we add some guards before this test to accommodate a scenario where someone adds a new connection type to Auth0 but doesn't update the matchOrder object?

Contributor guide

No contributing guide indexed for this repository

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

Read rules/force-users-login-most-secure-method.js, especially the matchOrder object around lines 49-55 and the referenced test near line 83. Run the existing test covering matchOrder, then add coverage for a connection type that is absent from matchOrder. Done means the test detects that mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.