osTicket
Official CaptchaLa plugin for osTicket. It adds CAPTCHA verification to the client portal's open-ticket, sign-in, registration and password reset forms, and to the staff login and password reset, without writing code.
Every widget is backed by a server-issued, single-use token, and each submission is checked on your server before osTicket handles the form.
What it covers
| Form | Page | Action |
|---|---|---|
| Open a New Ticket | open.php | generic_form |
| Client sign in / ticket access link | login.php | login |
| Client registration | account.php | register |
| Client lost password | pwreset.php | lost_password |
| Staff log in | scp/login.php | login |
| Staff lost password | scp/pwreset.php | lost_password |
A refused submission shows the CAPTCHA message in the page's usual message area. The open-ticket form keeps everything the visitor typed.
Requirements
- osTicket 1.18 or later
- PHP 8.0+
- A CaptchaLa account — get your App Key + App Secret at
dash.captcha.la
Install
- Get the source from the GitHub repository and run
build.sh. It writes a ZIP that bundles the PHP SDK torelease/. - Extract the ZIP into your osTicket installation so the plugin lands in
include/plugins/captchala/. - Sign in as an administrator and go to Admin Panel → Manage → Plugins → Add New Plugin. Click Install next to CaptchaLa CAPTCHA.
Configure
- Open the plugin, go to Instances → Add New Instance, give the instance a name and set its status to Enabled.
- On the Config tab, paste your App Key and App Secret, adjust the Widget mode and Widget language if you like, and save.
- Back on the plugin page, set the plugin's status to Active and save.
| Setting | Default | Description |
|---|---|---|
| App Key | — | Public key from the CaptchaLa dashboard. Required. |
| App Secret | — | Server secret, used to issue and validate tokens. Required; stored encrypted and never sent to the browser. Leave the field empty to keep the saved secret. |
| Widget mode | bind | bind (the check runs when the visitor presses the form's submit button), popup, float or embed (a verification bar inside the form). |
| Widget language | auto | A BCP-47 tag such as ja or pt-BR, or auto to follow the visitor's browser. |
Screenshots



Notes
- Content Security Policy. The plugin adds the CaptchaLa script hosts and
blob:workers to the Content Security Policy osTicket sends on the protected pages, so no CSP changes are needed. - Privacy. The plugin stores no visitor data.
Troubleshooting
- The widget does not appear. Check that the instance is Enabled, the plugin is Active, and both keys are saved on the Config tab.
- Every submission is refused. Make sure the App Key and App Secret belong to the same app, and that your helpdesk's domain is allowed for that app in the dashboard.
- Trying it out. The public test keys let you check the full flow without an account.
Links
- Source and issues: github.com/Captcha-La/osticket-captchala
- Support: [email protected]