Skip to content

Instantly share code, notes, and snippets.

View Slauta's full-sized avatar
🎯
Focusing

Roman Slauta

🎯
Focusing
View GitHub Profile

В своем проекте я делал как-то так

I have managed to install this… and make it work. I implemented it for Facebook and Google, but you can extend it. My solution it is mostly as described in #116, with a bit of more code presented. The key aspects that lack in the #116 presentation (IMO) are:

  • the registration as service of your custom FOSUBUserProvider (with the necessary parameters)
  • set the service for oauth_user_provider in the security.yml with your custom created service

Here are the steps: