bshaffer / oauth2-server-bundle

OAuth2 for your Symfony Application
MIT License
106 stars 72 forks source link

User credentials issue #60

Closed Herz3h closed 7 years ago

Herz3h commented 7 years ago

Hello,

I followed the readme instructions and added this to my config.yml :

oauth2.user_provider.class: Amce\OAuth2ServerBundle\User\OAuth2UserProvider

But it doesn't work, so i noticed it should be Acme instead of Amce, but same thing i can't get it to work, i get this error :

PHP Fatal error: Class 'Acme\OAuth2ServerBundle\User\OAuth2UserProvider' not found in /home/myuser/oauthserver/var/cache/dev/appDevDebugProjectContainer.php on line 2239

Herz3h commented 7 years ago

Anyway problem solved, line should be :

oauth2.user_provider.class: OAuth2\ServerBundle\User\OAuth2UserProvider