Allow user to authorize the third-party clients.
js | ||
less | ||
locale | ||
migrations | ||
src | ||
tests | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.styleci.yml | ||
composer.json | ||
extend.php | ||
LICENSE.md | ||
README.md |
OAuth Center
A Flarum extension. Allow user to authorize the third clients
Installation
Install with composer:
composer require foskym/flarum-oauth-center:"*"
Updating
composer update foskym/flarum-oauth-center:"*"
php flarum migrate
php flarum cache:clear
Usage
setting
create a client
set scope for your resources (user.read is default scope)
uri
authorize: /oauth/authorize
token: /oauth/token
resource(user): /api/user