advanced-learning / silverstripe-oauth2-server
SilverStripe module for an oauth2 server
Package info
github.com/advanced-learning/silverstripe-oauth2-server
Type:silverstripe-vendormodule
pkg:composer/advanced-learning/silverstripe-oauth2-server
0.0.7
2022-02-17 22:00 UTC
Requires
- php: >=7.1
- league/oauth2-server: ^6.0
- robbie/psr7-adapters: ^1
- silverstripe/admin: ^1
- silverstripe/framework: ^4
- silverstripe/graphql: ^3
- silverstripe/vendor-plugin: ^1
Requires (Dev)
- phpunit/phpunit: ^5.7@stable
- silverstripe/sqlite3: ^2.1
This package is not auto-updated.
Last update: 2026-06-18 05:50:06 UTC
README
OAuth2 server for SilverStripe 4.
Requirements
silverstripe/framework^4.0league/oauth2-serverrobbie/psr7-adaptersPHP >= 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.