eve-scout/eveseat-oauth2-server
Composer 安装命令:
composer require eve-scout/eveseat-oauth2-server
包简介
EVE SeAT OAuth2 Server
README 文档
README
This EVE SeAT package enables an OAuth2 server for Single sign-on.
Install
Add Package
Run the following command while in your SeAT install:
$ composer require eve-scout/eveseat-oauth2-server
Update Configs
- Open
config/app.phpin your favorite editor. - Add
EveScout\Seat\OAuth2Server\OAuth2ServerServiceProvider::classto the bottom of theprovidersarray. - Open
app/Http/Middleware/VerifyCsrfToken.phpin your favorite editor. - Add
'oauth2/token'to the bottom of the$exceptarray.
Package Config Publishing and Migrations
Run the following commands while in your SeAT install:
$ php artisan vendor:publish $ php artisan migrate $ php artisan db:seed --class=EveScout\\Seat\\OAuth2Server\\database\\seeds\\ScopesSeeder
Configuration
- Login to EVE SeAT as an admin.
- Navigate to
OAuth2 Server>Clients. - Add a new client by giving the client a Name, ID and Secret.
- Add a new client endpoint by navigating to the new client you previously created.
- Add relevant client scopes by navigating to the new client you previously created. For Single sign-on it is suggested that
character.profile,character.rolesandemailare added.
Credits
License
Copyright (c) 2016 Johnny Splunk of EVE-Scout <https://twitter.com/eve_scout>
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-08-23