advanced-learning/silverstripe-oauth2-server

SilverStripe module for an oauth2 server

Installs: 1 566

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 5

Forks: 9

Open Issues: 2

Type:silverstripe-vendormodule

0.0.5 2020-06-10 01:45 UTC

This package is not auto-updated.

Last update: 2021-09-15 07:44:29 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.