• strcrssd@kbin.social
      link
      fedilink
      arrow-up
      12
      ·
      7 months ago

      It has nothing to do with website design. It’s part of the HTTP protocol. A poor part in today’s understanding and use cases, but in the 90s it would have made sense.

          • flashgnash@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            7 months ago

            I thought basic Auth was where you base64 encoded the username and password and sent it as the Authorization header

            • Ghoelian@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              3
              ·
              edit-2
              7 months ago

              That is also a form of basic auth, you still pass the credentials like “username:password”, optionally base64 encoded but I don’t believe that’s required.

              Edit: actually, after looking into it a bit more, it seems like passing credentials in the url will actually cause the browser to send it as an authorization header instead. So in essence it’s doing the same thing.