承接 clientxcms/sso-pterodactyl 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clientxcms/sso-pterodactyl

最新稳定版本:v1.2

Composer 安装命令:

composer require clientxcms/sso-pterodactyl

包简介

Allows clients from ClientXCMS login to their Pterodactyl account with a single redirect

README 文档

README

Latest Version on Packagist Total Downloads

Laravel SSO

Laravel SSO is a package for implementing Single Sign-On (SSO) authorizations in your Laravel project. This package allows you to authorize users on a Laravel panel from another website.

Requirements

  • PHP 8.0 or higher
  • Laravel 10 or higher

Installation

To install the package, use Composer:

composer require clientxcms/sso-pterodactyl

Configuration

  1. Publish the configuration file by running the following command:
php artisan vendor:publish --tag=sso-clientxcms

This command will publish the config/sso-clientxcms.php file, where you can set the secret key for SSO authorization.

  1. Generate new SSO key
php artisan clientxcms:generate
  1. Clear the configuration cache to ensure the new settings are applied:
php artisan route:clear
  1. Add the SSO key to your .env file in your clientxcms application by adding the following line:
SSO_CLIENTXCMS_KEY{SERVER_ID}=your_secret_key_here

with {SERVER_ID} being the ID of the server you want to connect to. For example, if your server ID is 1, you would add:

SSO_CLIENTXCMS_KEY1=your_secret_key_here

If you are using Cloud platforms you can add metadata to your CLIENTXCMS server to set the SSO key: Key: sso_key Value: your_secret_key_here 4. You can now use the SSO key in your application to authenticate users.

Usage

  1. Generate a access token for using a GET request from your application
  2. Redirect the user to the SSO redirect with their token After being redirected to the /sso-login route, the user will be automatically authorized on the Laravel panel if their email address matches a record in the database.

Support

If you have any questions or issues, please create a new issue in the project repository on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-23