Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Auto Login

Let customers log in to the panel from Paymenter with one click.

On this page

Auto Login uses a shared secret between Paymenter and your panel. The setup depends on your panel version.

Pterodactyl v2#

  1. Install the Advanced Pterodactyl SSO extension on your panel. It is in the Pterodactyl v2 SSO folder of the download. Follow Advanced Pterodactyl SSO.

  2. Make a secret of at least 32 characters, for example with:

    openssl rand -hex 32
    
  3. In the panel, open the settings of Advanced Pterodactyl SSO and paste it under SSO secret.

  4. In Paymenter, go to Extensions → Servers, edit your server and paste the same value under SSO Secret Key.

  5. Leave SSO Endpoint Path on /sso.

Pterodactyl v1#

Install an SSO plugin on your panel that works like this:

  1. Paymenter sends a GET request to the panel URL plus SSO Endpoint Path with the parameters sso_secret and user_id.
  2. The panel answers with JSON that contains a token or a redirect URL.
  3. Paymenter sends the customer to that redirect, or to /sso-login?token=... on your panel.

Fill in the secret of that plugin under SSO Secret Key and set SSO Endpoint Path to the path the plugin uses. The default is /sso.

Turn it off#

Clear SSO Secret Key. The Auto Login button disappears from the service page.

When it fails#

The customer sees an error page with a link to open the panel normally. Turn on Enable Verbose Logging to write the details of the request and the answer of the panel to the Paymenter log.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.