advanced-learning/silverstripe-oauth2-server

SilverStripe module for an oauth2 server

Installs: 1 756

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 5

Forks: 10

Open Issues: 4

Type:silverstripe-vendormodule

0.0.7 2022-02-17 22:00 UTC

README

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