Symfony 3: Authentication (Login page) Tutorial

preview_player
Показать описание
This is the first video of a two videos in which i go through a simple symfony authentication, a login page where the users are going to be loaded from the database via a users entity, starting from the scratch .

If you have any questions or notes about this please leave a comment or you can always send me a message .
Рекомендации по теме
Комментарии
Автор

Thanks, as a symfony 3.4 beginner, you helped me fix some bugs I couldn't understand why are happening.

Jigulicata
Автор

Thank you sir for this very helpful tutorial !

ZizahMarouane
Автор

Great Video ! I love your channel very helpful and informative
You got my sub and likes
Keep up the good work !! 👍🏿

codingbythebyte
Автор

How can I use this command "require doctrine/doctrine-fixtures -bundle" in Symfony 3.1.10 ?
Thanks.

janstas
Автор

If I remove from security.yml "property: username" I will be able to log in using both username and email?

janstas
Автор

Hello my dear friend, I wanted to thank you for the effort : you are making great content and you've just got a new sub :) my kindest regards from France

LaravelJutsu
Автор

With 3.4 and 4.0, there is an option that has to be enabled to remove a weird deprecation. logout_on_user_change: true. However, this causes the user to get de-authenticated the moment he is redirected, after the login. Any idea why this is happening?

dimitris
Автор

Hi, I have a question I have 2 different table one for user having fields name, pass, email etc, and one for Roles where I put user_id, role etc. My question is how can I call getRoles function to get roles from role table. You have described very well in this tutorial but I want to know how to get roles from another table.plz let me know .. thanks

asimsagirabbasi
Автор

Very comprehensive. It covered everything I needed. One question. The firewall only works when I have the "property: username" activated (and will search for username), or "property:email" activated (and will search for email). If I deactivate it, it won't work at all. I have the User Repository implemented as described, and implemented the "loadUserByUsername" method, but the execution flow will never reach there. I set up many breakpoints in the class, but no dice. I also added the instruction "repositoryClass: to the User entity mapping file, so I know the new repository is working. Any clue what could be wrong? Amazing Video. Cheers.

nicky
Автор

In your video at 5:12 you are talking about to implementing "UserInterface" functions.
So may i know how can i implement them >
please help....

gurubhajansingh
Автор

Great tutorial, thanks! A bit off topic, but what color theme do you use ?

budspencercrew
Автор

Can you make tutorial video Symfony 3.4: Authentication Ldap?

azamatturdubekuulu
Автор

Hi,
My project I am doing with persistence to MySQL ... I had problems in my project when trying to perform the process "php bin / console doctrine: fixtures: load" the console told me "Could not find any fixture services to load. " I managed to solve it in the following way:

"class LoadUserData extends Fixture implements FixtureInterface, ContainerAwareInterface {"

I hope it's helpful for someone.. I'm using php 5.5.9 with symfony 3.4.1

I thank you very much for that excellent step-by-step explanation

juanpereaval
Автор

When I click to login my password in the database is modified to 0. Can you help me? I using MySQL Workbench

GuilhermeDemoliner
Автор

I have a problem with two entities I can authantificate the candidate objects but not the entreprise ones I have created two providers but it doesn't work

kacelinfo
Автор

HI,
I'm trying to install symfony 3.1 version, and having wamp with php 5.4 version but it showing following error,

[InvalidArgumentException]
Could not find package with version 3.1.* in a version installable using your PHP version 5.3.28.

how to fix it pls guid.

archanawhatkar
Автор

Hello,
Your video are very good.
I'm understand everything.
I have one question if you know how can I customize the message "Invalid credentials.".
Many thanks!

cristianvelicu
Автор

hello thank you for this tutorials

I want just ask you, how at 4:54 how to access directly in UserInterface by simple click???

turkeymusic
Автор

at 37:55 you sneaked in the "u.username" which was different from before the cut-away to the web browser! LOL that took me a few mins to catch!!!

gepisar
Автор

(security.yml" does not contain valid YAML )
i can't found where is th problem, i just copied what u've code...please help!

ilyesstourki