承接 iqionly/mansion-client 相关项目开发

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

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

iqionly/mansion-client

最新稳定版本:1.2.2

Composer 安装命令:

composer require iqionly/mansion-client

包简介

Package to handle SSO

README 文档

README

Latest Version on Packagist Total Downloads

Mansion Client

Package to handle sso simple login Mansion Website for Laravel Application.


How to use

Create New Client Mansion

If you done this jump to Installing section. To use this packages, you will need to register your app to mansion server, for package mansion-client works properly.

Todo so, you have to:

  • Open your mansion server (regarding to Mansion your use)
  • Go to Management Application Menu
  • Click button Add Data
  • Fill up the field name and URL App for your application
  • Then enter your URL Login for your app. for mansion-client this the example: https://yourapp.example/mansion/login-sso, (change uri to your domain app)
  • Also enter your URL Redirect for your app. for mansion-client this the example: https://yourapp.example/mansion/callback, (change uri to your domain app)
  • After that fill up all required field
  • Then click button Save Changes
  • Save the id and secret key, paste to your environment app
  • Enjoy the coffee

Installing

First install the packages:

composer require iqionly/mansion-client

After that, copy your client id and secret key from your Mansion Server > Management Application to your .env. Example:

MANSION_URL=http://mansion.example  # your mansion url
MANSION_CLIENT_ID=12345xxxxxxxx
MANSION_CLIENT_SECRET=abcdefxxx

# Skip if your server have loopback ip 
MANSION_URL_LOCAL=http://mansion.local  # add other url, if mansion server is same ip with your app client.

If you using other Users table with different column name and key, please tell mansion-client how to consume it, with just adding another environment variables:

MANSION_USERNAME="(YOUR COLUMN/KEY USERS)"
MANSION_PASSWORD="(YOUR PASSWORD FOR USERS)"

mansion-client also using config providers users to authenticate the sign-in user, if you not change, it works fine :)

This package require, middleware web. So if you change it, please configure the middleware in mansion config also.

You can change the config mansion by execute this command:

php artisan vendor:publish --tag=mansion-config

Contacts

Any help, contacts me to: izzy25.mr@gmail.com or mochammadrizkyashyari@gmail.com

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固