Logto logo

Logto

專為現代應用和 SaaS 產品設計的 Auth0 替代品

Security 最新: 1.36.0

Setup Notes

  • Create Application: The Logto admin console address must be https://admin.domain.com (replace domain.com with your actual domain).
  • Create Reverse Proxy Website: Set the proxy address to http://127.0.0.1:3002 (replace IP and port as needed).
  • Apply for Certificate: Create a certificate for https://admin.domain.com and select HTTP verification.
  • Enable HTTPS: Go to the website settings page, click HTTPS, select the newly added certificate, and save.

The Logto service address and admin console address must use the HTTPS protocol to function correctly.

使用 1Panel 部署 Logto

  1. Install 1Panel on your VPS (Linux server).

    # Copy and paste the following command into your terminal and press Enter
    bash -c "$(curl -sSL https://resource.1panel.pro/v2/quick_start.sh)"
  2. Open the 1Panel dashboard, go to App Store.

  3. Search for Logto and click Install.

  4. Fill in the required parameters (ports, admin credentials, storage path), then confirm.

  5. After deployment, create a website/reverse proxy in 1Panel if you want a custom domain.

  6. Enable HTTPS (recommended) and keep the app updated from the App Store.