Free & open · no paywall, ever

IntegrAuth Academy

Identity, security and practical AI — free, from zero. Byte-sized lessons, real diagrams, hands-on labs, zero fluff. Two programs, each with its own exam and certificate.

20 tracks 241 lessons 242 hands-on labs 230+ diagrams 100% free

English is hard? Your browser can translate this page into Tamil, Telugu, Kannada, Malayalam or Hindi. Tech words stay in English so you learn the real names.

How?
  • Chrome on phone: ⋮ menu → Translate
  • Chrome on computer: right-click → Translate to …
  • Edge: the translate icon in the address bar
Identity & API Security Track 2 · Modern Authentication
0/166 lessons read
AUTHENTICATION · LESSON 14

Cheat sheet & pop quiz

Here is one idea per lesson. Then a map from problem to defense. Last, five questions to check what stuck.

One idea per lesson

#If you remember nothing else…
1A passkey's private key is never sent to the site. It is tied to the site's domain. A fake page cannot trigger it (passkeys).
2Factors form a strength ladder: passkey, then push, then SMS. Never make lost-factor recovery depend on the factor that may be lost (MFA).
3Recovery is a door too. Best: a second passkey. Next: single-use recovery codes, shown once and stored as hashes. Never text or email alone. At the help desk: call back a number on file, a second person approves, wait, notify, log (account recovery).
4Score every login and challenge only the risky ones. Look at new device, impossible travel and bad IP. Real users pass quietly (adaptive MFA).
5Being logged in is not the same as having just proven it. Tie risky actions to amr, acr and auth_time. The API is the gate. Judge freshness by auth_time (step-up).
6A CAPTCHA needs a screen. So a back-channel login must hand off to the hosted page (bot detection).
7Check passwords against leak lists with k-anonymity. Only 5 hash characters leave your server. Block, do not warn (breached passwords).
8Let customers bring their own IdP. The email domain is the map. Verify domain ownership first (enterprise SSO).
9One login makes three sessions on three clocks: IdP, app and tokens. Protect the cookie with HttpOnly, Secure, SameSite and a sliding expiry. Clearing a cookie is not logout. Back-channel logout ends the whole SSO estate (sessions).
10Carry a sign-in from native to web with a single-use ticket that lasts about 60 seconds. The refresh token never reaches the browser (native-to-web SSO).
11A magic link is a single-use, short-lived token sent by email. It is only as safe as that mailbox. Use passkeys when the account is worth protecting (magic links).
12Authentication shows you hold the credential. Identity proofing shows you are the real person. Match the assurance level (IAL) to the risk. Delete raw ID scans once the law allows (identity verification).

Problem to defense: a quick map

When you see……reach for
Users are phished even with MFA onOrigin-bound passkeys. The key will not sign for a fake domain. Teach users to spot fake messages too.
Credential stuffing with leaked passwordsBreached-password checks, bot detection and limits on repeated tries
Every login asks for a second factor and users complainAdaptive MFA: challenge only low-confidence attempts
A high-value action arrives on an old token, or one made from a refresh tokenStep-up: answer 401 insufficient_user_authentication and ask for fresh MFA
A user dropped the phone and is locked outRecovery that does not depend on the lost factor: a second passkey or saved recovery codes
A caller asks the help desk to reset an accountHelp-desk rules: call back a number on file, a second person approves, wait, then notify
A business customer will not manage another passwordEnterprise SSO over SAML or OIDC, with home-realm discovery by email domain
An attacker claims another company's domain to steal SSO routingVerify domain ownership (a DNS TXT record) before you map a domain
A web page opened from the native app asks for a second loginNative-to-web SSO: a single-use ticket, with the refresh token kept off the browser
A user signed out, but still has accessBack-channel logout and token revocation, not only a cleared cookie

Pop quiz: five questions

Q1 · Maya clicks an email link to a page that looks exactly like your login. Her device will not offer her passkey. Why not?

Q2 · Priya types priya@bigcorp.com. With no menu, she lands on Bigcorp's own login. What sent her there? What must you check before you trust that map?

Q3 · Maya's app sends a token with amr=mfa to approve a ₹25,000 payment. The API refuses it. The token is real. Why was it refused? What fixes it?

Q4 · Zara sees a credential-stuffing wave hit a login that uses a back-channel password grant. The app has no screen that the IdP controls. Why do the bots not get in?

Q5 · Maya is signed in on the native app. It opens a web page, and she is already signed in there too. What carried the sign-in across? What three things keep it safe?

Track complete 🎉

You now know how modern authentication proves who is there: passkeys, adaptive MFA, step-up, SSO and the bridges between apps. Next, follow the tokens that these logins hand out. Start the Token Security track with its first lesson.

🧪 Try it free

Put it to work. Grade a real login with our free security micro-tools. Or explore our services. Or talk to our team when you are ready to design the real thing.