0

I have implemented oAuth on my Symfony App with FosOAuthSeverBundle.

Now I want to use my existing user Repository on mongoDB and extend it to use authenticate user via a FOSOAuth Interface. Is there an interface and methods similar to this oAuth User Provider in this question:

How can I write a user provider for HWIOAuthBundle

Community
  • 1
  • 1
aurny2420289
  • 481
  • 5
  • 16
  • Usually you don't have end-users log into MongoDB. The authentication of end-users should be handled by the application. The user management mechanism of MongoDB is meant for the application itself and for the database administrators to authenticate themselves. – Philipp Aug 06 '15 at 07:37
  • the point is i would like to authenticate via flow password. I fixed it on the service declaration for my user provider using `factory_service: doctrine.odm.mongodb.document_manager` – aurny2420289 Aug 17 '15 at 22:27

0 Answers0