API-Skeletons / oauth2-doctrine

Doctrine oauth2 adapter for Laminas API Tools
4 stars 9 forks source link

OAuth Doctrine Adapter type #8

Open sanjivsharmalv opened 3 years ago

sanjivsharmalv commented 3 years ago

I understand that one can use OAuth2 framework on Laminas with Doctrine. In this regard I have installed and configured the required module as specified on https://api-tools.getlaminas.org/documentation/auth/authentication-oauth2.

I understand after successful installation of the module we should have OAuth Doctrine as one of the drop down items when you click on News Adapter on API Tools. But I can not see such a type listed.

Please advise where am I going wrong.

TomHAnderson commented 3 years ago

But have you installed and configured this module? I don't think you have.

sanjivsharmalv commented 3 years ago

Thx, Yes, I have installed and configured but I doubt my configuratiin. Following is my configuration summary: 1.I have installed these modules:

'ApiSkeletons\\OAuth2\\Doctrine',
'Laminas\\ApiTools\\MvcAuth',
'Laminas\\ApiTools\\OAuth2',
  1. Listed these modules in modules.config.php.
  2. Following are the entries in autoload directory:

    api-tools-mvc-auth-oauth2-override.global.php oauth2.doctrine-orm.global.php oauth2.global.php

davidwindell commented 9 months ago

@sanjivsharmalv it's probably because the docs are incorrect, the key should be api-tools-mvc-auth not zf-mvc-auth