advanced-learning/silverstripe-oauth2-server

SilverStripe module for an oauth2 server

Installs: 603

Dependents: 1

Suggesters: 0

Stars: 1

Watchers: 3

Forks: 5

Open Issues: 0

Type:silverstripe-vendormodule

0.0.3 2018-05-07 21:34 UTC

README

Build Status 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.