HTTP Basic Authentication
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://statuscodefyi.com/iframe/glossary/basic-auth/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/glossary/basic-auth/
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/glossary/basic-auth/)
Use the native HTML custom element.
The simplest HTTP authentication scheme, defined in RFC 7617, where the client encodes the username and password as base64(username:password) and sends it in the Authorization header. Basic Auth credentials are not encrypted — only base64-encoded — so HTTPS is mandatory to prevent credential interception in transit. Despite its simplicity, it is still used in API authentication when combined with TLS and is supported universally by HTTP clients.