Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

OAuth2_PDO adapter mysql_pdo error #340

Open
JFernandoGomez opened this issue May 2, 2016 · 2 comments
Open

OAuth2_PDO adapter mysql_pdo error #340

JFernandoGomez opened this issue May 2, 2016 · 2 comments

Comments

@JFernandoGomez
Copy link

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

@NathanHaley
Copy link

NathanHaley commented May 13, 2016

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

@weierophinney
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants