This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

WebServer API: Force Basic Authentication Login

 16th December 2018 at 6:19pm

Forces the server to request basic authentication login, and then redirects to the root

GET /login-basic

Requests an basic authentication from the browser, and redirects to the root if successful.

Parameters:

  • none

Response:

  • 302 Found
    Location: /
  • 401 Unauthorized
    WWW-Authenticate: Basic realm="Please provide your username and password to login to <servername>"