Sign in with a tap.
No authenticator app, no six-digit codes. Your sign-in page shows a number; your iPhone shows three. Tap the right one and you're in.
Free, always. It never counts towards your nudges.
Acme Admin
Approve this sign-in on your iPhone. Tap this number:
68
Waiting for your iPhone…
Friday 20 November9:41

NudgeNudge 2FASign-in request
Acme Admin · London
Tap the number on your screen.
Tap the number on your screen.
Try it: tap the number on the iPhone.
1 · Your site shows a numberAny two digits, made up for this sign-in.
2 · Your iPhone shows threeFrom NudgeNudge 2FA, with "Not me" if it wasn't you.
3 · Tap the right oneYour site hears "approved" and lets you in.
Add it
One request. That's the integration.
Store each person's NudgeNudge code with their account (they copy it from the app's Settings). At sign-in, show a two-digit number, then make one request. It answers the moment they tap, or after 60 seconds.
curl https://api.nudgenudge.app/2fa/D4RY-YY78-PNRS \
--json '{"site": "Acme Admin", "number": 68, "where": "London", "icon": "acme.com"}'
{"approved": true}
Node
const number = 10 + Math.floor(Math.random() * 90); // show this on the sign-in page
const r = await fetch(`https://api.nudgenudge.app/2fa/${user.nudgeCode}`, {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ site: "Acme Admin", number }),
}).then((res) => res.json());
if (r.approved) signIn(user);
Python
number = random.randint(10, 99) # show this on the sign-in page
r = requests.post(f"https://api.nudgenudge.app/2fa/{user.nudge_code}",
json={"site": "Acme Admin", "number": number}, timeout=70).json()
if r.get("approved"):
sign_in(user)
SSH
#!/bin/sh
# /usr/local/bin/nudgenudge-2fa
# /etc/pam.d/sshd: auth required pam_exec.so stdout /usr/local/bin/nudgenudge-2fa
CODE=D4RY-YY78-PNRS
n=$(awk 'BEGIN { srand(); print int(10 + rand() * 90) }')
echo "NudgeNudge 2FA: tap $n on your iPhone"
curl -s https://api.nudgenudge.app/2fa/$CODE \
--json "{\"site\": \"$(hostname -s) SSH\", \"number\": $n, \"where\": \"$PAM_RHOST\"}" \
| grep -q '"approved":true'
Every answer and error is in the docs.
The rules
Built to be trusted.
- Number matching. The right number is only on the screen of whoever is signing in, so someone with your password can't get you to approve them by accident.
- Not me. One tap tells the site it wasn't you, and pauses its requests for 5 minutes.
- One slip forgiven. Tap the wrong number and you can try again; a second wrong number within 5 minutes pauses that site for 5 minutes.
- Our words, not theirs. Every request comes from NudgeNudge 2FA, with the shield, saying the same thing. Nobody can send one in another name.
- Short-lived. Each request lasts 60 seconds and replaces the last. No daily limit.
- A sign-in log. NudgeNudge 2FA in the app lists every request and what came of it.
- One honest caveat. Push delivery isn't guaranteed, so keep another way in (an emailed link, backup codes). NudgeNudge 2FA is the fast second step, not the only one. When a request expires, the reply says whether it ever reached the phone (
"delivered": false), so you know to offer the other way straight away.
