Calagopus does not let an API key log a customer in or change their password. The small panel extension in the download adds both, for the API key of your Paymenter server only.
What needs the panel extension
| Feature | Without the panel extension | With the panel extension |
|---|---|---|
| Server page, console, files and all tabs | Works | Works |
| Reveal the password of a new account | Works | Works |
| Generate New Password | Fails with an error | Works |
| Auto Login | Not available | Works |
1. Install the panel extension
Extensions are built into the panel, so you need the heavy image of Calagopus.
- Log in to your panel as an admin and open Admin → Extensions.
- Click Install extension and choose
com.builtbyotte.advancedcalagopus.c7s.zipfrom the download, or drop the file on the page. Do not extract it. - Click Rebuild extensions and wait until the build is done.
The panel restarts with the extension. It has the package name com.builtbyotte.advancedcalagopus and the name Advanced Calagopus. If a build fails, the panel keeps running on its standard build, without the extension.
2. Give the API key the permissions
Edit the API key of your Paymenter server under Account → API Keys and add:
| Permission | Needed for |
|---|---|
| users.impersonate | Auto Login and Generate New Password |
| users.update | Generate New Password |
3. Turn on Auto Login
- In Paymenter, go to Extensions → Servers and edit your server.
- Turn on Auto Login and save.
The Auto Login button now shows on the service page.
How Auto Login works
- The customer clicks Auto Login in Paymenter.
- Paymenter asks the panel for a login link for the panel account of this service.
- The panel answers with a link that works once and expires after 60 seconds.
- The customer is logged in to the panel and lands on their server.
Safety rules
- Admin accounts are never logged in this way, and never get a new password this way.
- Suspended accounts cannot use Auto Login.
- A login link works once and expires after 60 seconds.
- New passwords are 8 to 512 characters. Paymenter creates them with 16 characters.
Turn it off
Turn off Auto Login in the server settings. The button disappears from the service page.
When it fails
The customer sees an error page with a button to open the panel normally. Turn on Enable Verbose Logging to show the details of the request and the answer of the panel. See Common problems.