set_basic_auth
Configure HTTP Basic Auth credentials for a project so the browser automatically sends them on every request. Use for browser Basic-Auth prompts, not HTML login forms.
Instructions
Configure HTTP Basic Auth credentials for a project — the browser sends them on every request in that project's context. Stored, not executed: call login_project to apply, then pass project to your sessions. Returns {success}. Use for browser Basic-Auth prompts, not HTML login forms (use set_form_login for those).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project name | |
| password | Yes | Basic auth password | |
| username | Yes | Basic auth username |