Top Categories
Symfony 4 Tutorial: Social Authentication (Facebook, Github) using OAuth 2.0
- Category: Information Technology
- Sub Category: Web Development
First of all i would like to apologize for the very low quality of audio and also so much coughing, and also i would to apologize to Walter Diaz, i know you hate the sound of that keyboard i but i have nothing else at the moment lol, also for not including google because that will just make the vide
First of all i would like to apologize for the very low quality of audio and also so much coughing, and also i would to apologize to Walter Diaz, i know you hate the sound of that keyboard i but i have nothing else at the moment lol, also for not including google because that will just make the video longer.
This Video covers how you can add OAuth 2.0 authentication to you application besides your Traditional login page and it's really simple the only thing that could cause a problem is the damn installation and configuration, after all it's just a matter of adding fields to your User entity and adding the new resource owner to the configuration and you're done.
This video covers the following:
* Create a traditional login page
* Installing the bundle : Link of the issue if you're interested in: https://github.com/hwi/HWIOAuthBundle/issues/1484
* Configuring the bundle: Adding the facebook and github resource.
* Creating the service and passing some prorties to it
* Adding the proper fields to the user entity that will hold the provider id and access token
* Creating the custom class that will be responsible for connecting the user or creating a new user in case of a first visit
* Coughing multiple time straight into the microphone lol (Sorry about that for real)
Repository: https://github.com/konshensx16/symfony-4-social-login