Skip to content
/ mfa Public

Hack Club's solution for sharing multi-factor authentication (MFA) codes for team accounts

Notifications You must be signed in to change notification settings

hackclub/mfa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eb5019b · Jan 31, 2025

History

32 Commits
Jun 10, 2024
Jan 31, 2025
Jan 31, 2025
Jun 10, 2024
Sep 10, 2021
Jan 31, 2025
Jan 30, 2025
Jun 10, 2024
Jan 31, 2025
Jun 10, 2024
Jan 30, 2025
Jun 10, 2024
Sep 10, 2021
Sep 10, 2021
Jan 30, 2025

Repository files navigation

MFA

Hack Club's solution for sharing multi-factor authentication (MFA) codes for teams accounts. Often times, shared accounts that require MFA use our personal phone numbers — which are not accessible to other members of the team. This solution provides a shared phone number which is accessible to the entire team.

How does it work?

We have a Twilio number which sends a webhook to this Express (Node) server when a SMS is received. That message is then parsed for the MFA code which is sent by a Slack bot to a Slack channel.

Contribute

# clone the repo
git clone https://github.com/hackclub/mfa

# enter the directory
cd mfa

# install dependencies
yarn

# run the server
yarn run dev

# the server will refresh on any saved changes

Add additional MFA code parsing regex in /src/helpers/parseCode.ts. The order of the regexes in the array is important. Regexes will attempted, in order, until one is successful. For more accurate results, order more specific regexes first.

About

Hack Club's solution for sharing multi-factor authentication (MFA) codes for team accounts

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published