2.1 KiB
2.1 KiB
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