Can I use basic authentication only on the staging site?

To configure basic authentication on your staging site, create a kuroco_front.json file and include a "basic" setting as follows:

kuroco_front.json
 "basic":[
        "user:pass"
 ],

Substitute the values below with your own information:

  • user: your username
  • pass: your password

From now on, when you visit the staging site, you will be prompted by a basic authentication dialog.

Image (fetched from Gyazo)

See also: [FAQ - What is kuroco_front.json? - basic](/docs/faq/what-is-kuroco_front_json/#basic:basic authentication)

For more information on setting up a staging site, refer to the link below.

If you have any other questions, please use our contact form or Slack workspace.