Symfony 4 : Authentication (Login page)

preview_player
Показать описание
As said in the into this in an unplanned video which i create a basic login page in symfony 4, this video doesn't go through the entire security bundle but covers most of the stuff that is needed to achieve a basic login system . so this part is basically a pert one to the translation video.
This video covers:

- Creating The user entity and implementing the necessary interfaces.
- Installing and using the doctrine fixtures bundle to load the user into the database.
- Using the UserPasswordEncoder to encode the password in the desired algorithm.
- Creating the login and logout functions
- Access-Control overview

Github:
I will be creating the project all over again and uploading the code because i don't have it anymore lol, sorry , shouldn't take long tho
Рекомендации по теме
Комментарии
Автор

hi, great video, but im stuck in point where php bin/console doctrine:schema:create
command is used. Consol displays message "SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes". Im using mySQL. Can you help mi solve this problem

mikiszop
Автор

Thank you so much for this video! You're the only youtuber that really knows about Symfony and how to make things work!

jnmldo
Автор

You deserve double or even much more thanks, due the first video that didn't work out for you, and even though you record another one, this is really tough thing to do. Much appreciate it.

mazenkenjrawi
Автор

This was EXTREMELY useful! I've just started using Symfony 4 as my first ever framework! I managed to understand how to use custom roles which is what I really needed in my project! THANK YOU!!! That bit at the end just sums everything up amazingly for this tutorial. ++ Recommending this for new and experienced users alike!

djdiablox
Автор

What an amazing video. This helped me so much. Thank you and keep making awesome content

gorguexo
Автор

Thank you - we put it on our Symfony Playlist

NeverCodeAlone
Автор

Big thanks, dude! You're awesome!

igorshumichenko
Автор

Thank you so much for the video, really useful for me

sjavier
Автор

your solution still works thanks man ;D

adrianmroczek
Автор

Thenks a lot!! You are the best. Keep up the good work.

By the way what OS are you using (I assume it's a Linux distribution).

mariuscodori
Автор

finally!!! i finally follow a tutorial and everything works!! Thanks man

nyamusashawn
Автор

This is such a useful tutorial. better than paid courses. God bless you

mohammed-
Автор

isha is disturbing you in the middle of the recording hahaha man awesome tutorial !

edenr
Автор

how can I authentify different entities I have a problem to that the authentification work for just one entity and not for the other(even a provider for that entity exist) I tried to add an other firewall but no result

kacelinfo
Автор

Hello buddy, I still haven't watched your whole last videos, but Im sure it's original and powerful teaching :) what are the add-ons you're using in sublime for php/symfony development? Thanks !!

LaravelJutsu
Автор

Salam Simo,

thanks for your tutorial...
How to prevent going back to the secured page after logout in symfony?

toufik
Автор

" ./bin/console make:authentication. && make:user " will automatically create the files for you. (install the required bundles with composer)

thabo
Автор

at 7:55 you said that we can both fields: email and username, how can we do it?

bolovy
Автор

*what difference between php *bin/console make:entity* and then give it "User" *And* *php bin/console make:User* ?

moktar_
Автор

merci moha, wouh ton tuto me sauve la vie, tout est bien exploiter.

ZeusFaucon