zfcampus/zf-oauth2

Oauth2 with Mongodb

Opened this issue · 2 comments

"This module uses any PDO-suported database to manage the OAuth2"

What if someone wishes to use oauth2 with MongoDB and any other database type? Where can we find examples of creating and testing mongodb connection with oauth2? I could not find in Apiagility some info on this.

There is a Doctrine ORM adapter at api-skeletons/zf-oauth2-doctrine you can use as a template if you wish to create a new adapter.

Otherwise see https://bshaffer.github.io/oauth2-server-php-docs/overview/storage/ for existing adapters.

This repository has been closed and moved to laminas-api-tools/api-tools-oauth2; a new issue has been opened at laminas-api-tools/api-tools-oauth2#5.