eve-scout / eveseat-oauth2-server
EVE SeAT OAuth2 Server
0.9.7
2016-11-16 08:47 UTC
Requires
- php: >=5.5.9
- eveseat/web: ^1.0.18
- laravel/framework: 5.1.*
- lucadegasperi/oauth2-server-laravel: ^5.1.4
This package is not auto-updated.
Last update: 2024-11-09 20:00:00 UTC
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.php
in your favorite editor. - Add
EveScout\Seat\OAuth2Server\OAuth2ServerServiceProvider::class
to the bottom of theproviders
array. - Open
app/Http/Middleware/VerifyCsrfToken.php
in your favorite editor. - Add
'oauth2/token'
to the bottom of the$except
array.
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.roles
andemail
are added.
Credits
License
Copyright (c) 2016 Johnny Splunk of EVE-Scout <https://twitter.com/eve_scout>