Single Sign-On
How PterodactylSSO signs customers into Pterodactyl 2.x and 1.x, and which policy gates apply.
What the customer sees
The service page shows Auto Login to Panel next to Access Panel. When the SSO flow succeeds, the customer is signed into the panel and redirected to their server. No panel password is placed in the URL.
The My Servers page uses the same SSO flow for its Open Panel button, so customers do not need to visit the service page first. If SSO is not configured or the panel cannot be reached, the button falls back to the plain panel/server URL.

Pterodactyl 2.x: signed links
Paymenter builds a signed URL
Paymenter loads the panel user linked to the service and builds a payload:
paymenter-sso|{user}|{expires}|{nonce}|{server}The signature is an HMAC-SHA256 of that payload using the shared secret. Links expire after 60 seconds by default and contain a random single-use nonce.
The browser follows the link
The customer is redirected to the panel extension:
https://panel.example.com/extensions/paymenter-sso/login?user=…&expires=…&nonce=…&server=…&signature=…No API key and no password are present in the URL.
The panel extension verifies the request
The panel extension checks every parameter, recomputes the signature, compares it in constant time, enforces the expiry window (with a small clock-skew allowance and a maximum lifetime), and consumes the nonce atomically. A used, expired, altered or incorrectly signed link is rejected.
Policy gates run
HTTPS, root administrator and two-factor checks are applied before the user is signed in. Rejections are logged with the reason and the client IP.
The panel starts the session
The extension loads the user server-side and completes the login through the panel's own login service. The session ID is regenerated, the login is recorded in the panel activity log, and the browser is redirected to the server page (or the panel home page if no server identifier was supplied).
Security gates

| Gate | Default | Behavior |
|---|---|---|
| Require HTTPS | On | Rejects links that did not arrive over HTTPS. |
| Block root administrators | On | Refuses auto-login for panel accounts with root administrator rights. Admins sign in with their own credentials. |
| Block two-factor accounts | On | Refuses auto-login for accounts with 2FA, so SSO cannot bypass a second factor. |
| Shared secret | Empty | Must match the secret on the Paymenter server row. An empty or different secret is rejected. |
| Expiry and nonce | Built in | Links expire quickly and every nonce is accepted once. |
Keep the 2FA block enabled
If you disable Block two-factor accounts, accounts with 2FA should continue through the panel's normal checkpoint instead of bypassing it. On the tested panel build, the SSO endpoint cannot hand that checkpoint token to the SPA, so those users may end up on the login page. Keep the block enabled unless you have verified the checkpoint flow on your panel version.
Pterodactyl 1.x: WEMX
On Pterodactyl 1.x the extension calls the WEMX SSO endpoint
(/sso-wemx by default) with the shared secret and panel user ID. The addon
returns a same-panel redirect that Paymenter validates before sending the
customer there. The bundled paymenter-sso panel extension is not used on
1.x.
Rejection reasons
Rejected links redirect to /auth/login?sso_error=<reason> on the panel.
| Reason | Meaning |
|---|---|
invalid | Bad signature, malformed parameter or a secret mismatch. |
expired | Outside the allowed time window or clocks are skewed. |
used | The nonce was already consumed; links are single-use. |
unknown-user | The signed panel user no longer exists. |
admin-blocked | The panel account is a root administrator. |
two-factor-blocked | The panel account has 2FA enabled and the block is on. |
insecure | The link did not arrive over HTTPS. |
unavailable | The panel extension has no shared secret configured. |
See troubleshooting for fixes.