laminas-api-tools/api-tools-admin

OAuth2_PDO adapter mysql_pdo error

weierophinney opened this issue · 1 comments

I'm using Apigility on an Apache server, with MySQL and I can't manage to create an Authentication Adapter, nor with OAuth2 PDO as

sqlite:/var/www/html/apigility/data/oauth2-test.sqlite

copied from 'vendor/zfcampus/zf-oauth2/data/dbtest.sqlite' as the example suggest or providing my own local info for mysql

mysql:host=localhost;dbname=apigility

the only message I get is "Please provide a valid URL route for OAuth2 PDO adapter" in both cases.

Is there something I'm missing??
If I try to connect with PDO in a single php file I connection is established, but not via Apigility

apigility_oauth_error


Originally posted by @JFernandoGomez at zfcampus/zf-apigility-admin#340

Quick question, did you type in the "/oauth" for the route or leave the placeholder? If not, might just try typing it in.


Originally posted by @NathanHaley at zfcampus/zf-apigility-admin#340 (comment)