mozilla-iam / mozilla-iam/auth0-deploy
Allow drive-by contributors to login using Github-without-2FA
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 21
- Avg merge
- 17h 49m
- Merged PRs (30d)
- 5
Description
In https://github.com/mozilla-iam/auth0-deploy/pull/145 we forced 2FA on people using Github as their authentication provider.
The recent Discourse thread https://discourse.mozilla.org/t/github-login-issue/23730 shows that this locks out people from participating in Discourse conversations who are not holding any Mozilla IAM Access Groups (because they do not even have a Mozillians.org profile). For sake of simplicity, let's call this group drive-by contributors.
As Github signals whether or not 2FA is being used, we could change towards the following business rules:
Hierachy for Most Secure Login:
Mozilla LDAP+MFA > Github+2FA > Github|Google > Passwordless Email
Access Groups would only be relayed for MFA/2FA login methods (i.e. LDAP and Github+2FA).
Conclusion:
Such a change would allow drive-by contributors to use Github as authentication provider and have a username+password login method on Mozilla sites such as Discourse.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing pull request 145 and the linked Discourse thread to understand the existing 2FA enforcement and the drive-by contributor case. Trace the Auth0 rules and hosted pages involved, then verify that GitHub users without 2FA can log in while Access Groups remain limited to LDAP and GitHub+2FA methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100