Read RFC 6265, dated April 2011, for HTTP state management, and RFC 2617, dated June 1999, for HTTP Basic and Digest authentication. Together they cover how a client presents credentials and how a server keeps state between requests, which is the groundwork for any customer API sign-in. The sections below also cover bot checks and which language version of a spec governs.
Big takeaways
- RFC 6265, dated April 2011, defines HTTP state management.
- RFC 2617, dated June 1999, covers HTTP Basic and Digest authentication.
- When Auth0's Bot Detection service cannot be reached, Auth0 proceeds without a CAPTCHA challenge, so do not promise one on every login.
- Auth0 also calls these attacks credential stuffing or list validation attacks, so design logins to expect them.
- For CSP Level 2, the English version is the only normative version.
The short answer: which spec sets the sign-in basics
When a customer asks for API sign-in, the first question is which specification defines the authentication scheme their clients will send. For the classic HTTP schemes, the answer is RFC 2617, titled "HTTP Authentication: Basic and Digest Access Authentication." Its DOI is 10.17487/RFC2617, and it is dated June 1999. You can find it in the RFC 9110 reference list, where the RFC Editor cites it in the bibliography of the current HTTP semantics spec.
The title tells you the scope. There are two schemes, Basic and Digest, and they differ in how much work the client and server do to protect the credentials. A setup document that says "basic auth" without naming the scheme leaves room for an argument later, so write the scheme name into the customer's integration notes and cite the RFC beside it.
RFC 9110 still cites RFC 2617, but a citation alone does not show the RFC is in force, so confirm its current status in the RFC index before the setup document names it as the governing spec. It is the RFC to read when a customer's engineers ask what the credential exchange is supposed to look like. Its job here is narrow: it settles which scheme the sign-in uses. The second RFC, covered next, governs what the server keeps between the requests that follow a successful sign-in.
What the state-management RFC covers
RFC 6265 carries the title "HTTP State Management Mechanism." Its author is listed as Barth, A., and it is dated April 2011 with the DOI 10.17487/RFC6265. The RFC 9110 reference list cites it, on the same page where the scheme RFC appears.
| Field | Value |
|---|---|
| Number | RFC 6265 |
| Author | Barth, A. |
| Date | April 2011 |
| DOI | 10.17487/RFC6265 |
| Topic | Mechanism for keeping state between HTTP requests |
The title names a mechanism, and the mechanism is state: information the server asks the client to hold and send back on later requests. In a customer's API sign-in, state matters when the login flow leaves behind a value that the next call needs. If the customer's client keeps a session and your API expects it back, the behavior governing that exchange sits in this RFC, not in the credential scheme.
For a CSM, the practical questions are simple to state. Does the sign-in return any state the client must keep? Does the client send that state back on later requests? Who on the customer side owns the decision about how long it lasts? Most people meet this mechanism as cookies, and when a sign-in involves a browser-facing step, cookie behavior is where mismatches tend to appear. Asking these questions in the first planning call is cheaper than discovering the answers once engineers are building. The RFC text gives both teams a neutral reference when their answers differ.
Side-by-side: the two RFCs on sign-in duties
Put the two RFCs in one table and the split becomes clear. Both have DOIs and dates, and both appear in the RFC Editor's bibliography on the same page. They differ on the measures that matter when you write a setup plan.
| Measure | RFC 6265 | RFC 2617 |
|---|---|---|
| Number | 6265 | 2617 |
| Date | April 2011 | June 1999 |
| DOI | 10.17487/RFC6265 | 10.17487/RFC2617 |
| Subject | HTTP state management | Basic and Digest authentication |
| Question it answers | What the server keeps between requests | How the client presents credentials |
Read the table column by column. The RFC 6265 column covers what persists after a sign-in, and the RFC 2617 column covers the credentials step that comes before it. A sign-in plan needs both answers. A plan that only names the scheme leaves session behavior undefined, and a plan that only describes the session says nothing about how the client identifies itself.
The date gap is worth noting. The newer RFC is dated April 2011 and the older one June 1999, nearly twelve years apart. Age alone does not decide whether a spec applies, since both appear in the current HTTP bibliography. When you draft the setup document, write one line for each RFC beside the step it governs, so reviewers can see which spec answers which question.
When bot checks can skip a CAPTCHA
Auth0's bot detection documentation describes what happens when its own check is unavailable. The table below summarizes that behavior.
| Element | What Auth0 does |
|---|---|
| Trigger | The Bot Detection service cannot be reached |
| Priority | The authentication process |
| CAPTCHA | Proceeds without a CAPTCHA challenge |
The Auth0 bot detection page states the rule directly. When the Bot Detection service cannot be reached, Auth0 prioritizes the authentication process and proceeds without a CAPTCHA challenge. In other words, the login is kept moving rather than blocked on the bot check.
For a CSM, this has two consequences. First, a customer should not be told that every login carries a CAPTCHA, because the documented behavior during an outage is the opposite. Second, the customer's security team needs to know this trade-off, since it means the sign-in path favors getting users through over stopping on the bot check. Record the behavior in the setup notes so the customer's team is not surprised by it later, and make sure the customer's own risk review has seen it before go-live.
Why credential stuffing shapes login design
Auth0's documentation gives two names for a family of attacks that sign-in teams should recognize: "These types of attacks are sometimes called credential stuffing attacks or list validation attacks." The phrase points to a specific pattern. Attackers hold lists of username and password pairs gathered elsewhere, then try them against a login endpoint to see which still work.
That pattern changes login design in a few ways. The endpoint should expect high volumes of attempts that do not come from real users, so throttling and failed-attempt tracking belong in the design from the start. The customer's team should also know which parts of the flow are protected by a bot check and which are not, since the previous section showed that the check can step aside when the service is unreachable. A design that treats every attempt as a single human can fail under a list-based attack without anyone noticing.
Both names are useful in practice. Customers' security reviewers may use either term, and matching their vocabulary keeps the discussion focused on the design rather than on naming. Put both terms in the setup notes so the review moves directly to the controls.
Which language version of a spec governs
The W3C's Content Security Policy Level 2 page settles this question for that spec: "The English version of this specification is the only normative version." The W3C specification page states the rule plainly, so the English text governs and translations serve as reading aids.
| Item | Status |
|---|---|
| Specification | Content Security Policy Level 2 |
| Normative version | English |
| Other language versions | Not normative |
A customer's engineers may read a translated copy of the spec first, and their reading is fine for orientation. When a question about the policy's requirements comes up in a design review, cite the English text and the relevant section, and record that choice in the review notes so the team does not argue over which translation is correct.
The rule is stated for CSP Level 2, so apply it to that specification. Keeping the English text as the reference point gives every reviewer on both sides the same wording to work from.
Negotiating response formats with the server
RFC 2295 carries the title "Transparent Content Negotiation in HTTP." Its author is listed as Mutz, and it is dated March 1998 with the DOI 10.17487/RFC2295. The RFC 9110 reference list cites it among the works behind the current HTTP semantics spec, so it belongs to the same family of references you already use for authentication and state.
The title names the subject: content negotiation, the process by which a client and server settle on which representation of a resource to send. For a customer's API sign-in, this matters when one sign-in endpoint can return more than one format. A program may expect structured data, while a browser-facing step may expect a page. If the client asks for one format and the server answers with another, the failure often looks like a sign-in bug even when the credentials are correct.
The practical questions are concrete. Does the sign-in endpoint return more than one representation? Does the customer's client say which formats it accepts? What happens when the server has no format the client will take? Put these questions on the first planning call, not in the week before launch. The citation names the mechanism but does not prescribe how your server should choose among formats, so that choice is a design decision your team has to document. Write the expected format for each client into the integration notes, and test the sign-in with that client before go-live.
Non-ASCII text in header fields
RFC 2047 is titled "MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text." Its author is Moore, K., it is dated November 1996, and its DOI is 10.17487/RFC2047. The RFC 9110 reference list cites it, which tells you the HTTP semantics spec treats it as a related reference. The citation gives the title, author, date, and DOI. It does not tell you which HTTP header fields carry encoded text, so read the RFC itself before you design around it.
ASCII is the basic set of English letters, digits, and punctuation. Non-ASCII text includes accented letters and non-Latin scripts. Sign-in flows meet this when a header carries a human-readable value, such as an organization name or a display name that a customer supplies. A value that works in your English test account can behave differently when a customer's name contains accented characters, and the difference may only show up after the value crosses a proxy or gateway.
Test this before launch. Create a staging account with a non-ASCII name, run the sign-in, and inspect what arrives at the other end. Ask the customer whether a gateway, proxy, or security appliance sits between their clients and your API, since those devices sometimes rewrite headers. Record the result in the setup notes, along with the header names that carry free text, so the next person who edits the flow knows which fields need the check.
Packaging documents as MHTML
RFC 2557 is titled "MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)." Its author is Shelness, it is dated March 1999, and its DOI is 10.17487/RFC2557. The RFC 9110 reference list cites it. The title describes the purpose: packaging an aggregate document, such as an HTML page with its related resources, into a single MIME-encoded file.
This is not an API format, so it rarely sits inside the sign-in flow itself. Its relevance to customer work is usually on the evidence side. When a customer's security or compliance team asks for a record of the sign-in page as it looked at approval time, a single packaged file is easier to store and hand over than a folder of loose resources. The title tells you the purpose of the format, but the citation does not describe its internal structure, so the RFC is the place to check the details before you promise a particular file layout.
Treat the archived copy as a change record. Save it with the date of approval and the name of the release it belongs to, and keep it with the other setup notes. If the customer's team asks why a page changed, the archive gives both sides the same starting point. Keep the archive separate from production assets so nobody mistakes it for a live copy.
Which one should you pick?
When you plan the bot-check side of a sign-in, three positions are worth comparing. The table compares three positions a setup team might take, with what the source supports for each.
| Option | What the source supports |
|---|---|
| Promise a CAPTCHA on every login | Not supported. Auth0 proceeds without a CAPTCHA challenge when the Bot Detection service cannot be reached. |
| Document the fallback in the setup notes | Supported. The fallback behavior is stated on the Auth0 bot detection page. |
| Plan for list-based attacks regardless of the bot check | Supported. Auth0 calls these credential stuffing or list validation attacks. |
For most customer sign-ins, pick the third option and document the second. The first promise is the one most likely to cause trouble, because it conflicts with the documented outage behavior. Plan the sign-in so that a bot check is one layer among several, not the only defense. Then write the fallback into the notes and get the customer's security team to acknowledge it before go-live. That way the customer's review covers the real behavior, not the behavior they assumed.
Setup steps for the customer's sign-in
The steps below turn the RFCs and vendor behavior into an order you can follow on a real setup. Most steps name the source that governs them, so reviewers can check the reasoning without relying on memory.
- Name the authentication scheme in the integration notes and cite RFC 2617, whose title covers Basic and Digest access authentication.
- Record what state the server asks the client to keep, and cite RFC 6265, titled "HTTP State Management Mechanism."
- Confirm which response formats each client expects, and cite RFC 2295 for the negotiation mechanism.
- Test a non-ASCII name through every header that carries free text, and confirm which encoding rules, if any, apply to the HTTP headers in use.
- Write the bot check fallback into the notes, citing Auth0's documented behavior when the service is unreachable.
- Plan throttling and failed-attempt tracking, and name the attack pattern in the notes as credential stuffing or list validation attacks.
- If a content security policy applies to the sign-in page, keep the English text of CSP Level 2 as the reference. The W3C specification page states that the English version is the only normative version.
Review the list with the customer's engineers and security team before the launch date. Mark each step as done only after someone has tested it, not after someone has read it.
Related guides: Auth0 login email: 2 rules before customers sign in · Customer sign-in: 5 checks before test day · 2 PKCE settings to check before customer sign-in.
Reader questions
Does RFC 2617 cover both Basic and Digest authentication? Its title says so: "HTTP Authentication: Basic and Digest Access Authentication." Name the scheme you use in the notes and cite the RFC beside it.
What does RFC 6265 cover? Its title is "HTTP State Management Mechanism," which covers the state a server asks a client to keep between requests.
Should customers expect a CAPTCHA on every login? No. Auth0's documentation says that when its Bot Detection service cannot be reached, it proceeds without a CAPTCHA challenge. Tell customers about that trade-off up front.
What does Auth0 call these attacks? It calls them credential stuffing attacks or list validation attacks. Use both terms in your notes so the customer's reviewers can find the matching controls.
Is RFC 2617 still referenced? Yes. The RFC 9110 bibliography cites it, which confirms only that it appears in the current list; confirm the RFC's current status in the RFC index before naming it as governing.
Which language version of CSP Level 2 governs? The English version. The W3C page states it is the only normative version, so translations serve only as reading aids.
Does a citation list tell me the rules? No. A bibliography entry gives the title, author, date, and DOI. Read the RFC itself before you write a rule into a customer's setup document.
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.