Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.14 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.14 KB

SilverStripe Oauth2 Server

<advanced-learning> Scrutinizer Code Quality codecov

OAuth2 server for SilverStripe 4.

Requirements

  • silverstripe/framework ^4.0
  • league/oauth2-server
  • robbie/psr7-adapters
  • PHP >= 7.1

Installation

Install with Composer:

composer require advanced-learning/silverstripe-oauth2-server

Oauth Support

Currently supports client and password grants. The client grant uses the endpoint '/oauth/authorizse'. Currently requires securing api endpoints manually. There is a middleware but this would affect all requests. The same logic could be used in conjunction with allowed_actions on the controller.