This package is abandoned and no longer maintained. The author suggests using the mezzio/mezzio-authentication-oauth2 package instead.

OAuth2 (server) authentication middleware for Expressive and PSR-7 applications.

2.0.0 2019-12-28 20:52 UTC


Repository abandoned 2019-12-31

This repository has moved to mezzio/mezzio-authentication-oauth2.

Build Status Coverage Status

Zend-expressive-authentication-oauth2 is middleware for Expressive and PSR-7 applications providing an OAuth2 server for authentication.

This library uses the league/oauth2-server package for implementing the OAuth2 server. It supports all the following grant types:

  • client credentials;
  • password;
  • authorization code;
  • implicit;
  • refresh token;


You can install the zend-expressive-authentication-oauth2 library with composer:

$ composer require zendframework/zend-expressive-authentication-oauth2


Browse the documentation online at https://docs.zendframework.com/zend-expressive-authentication-oauth2/