13 - Symfony 4 REST: Register users

preview_player
Показать описание

(Upload speed is really bad some it might take a while to upload some videos)

Well here's how you can register and create new users for your app, any question are welcome and also i would love to see you guys make this better and leave a comment saying what you've done to improve it :)
One further note about this route, if you want to add the api prefix to it you have to make it anonymously accessible, to do that just add a register key with the pattern and the anonymous option to the firewall (and make sure it comes before the main firewall)

Рекомендации по теме
Комментарии
Автор

thank you Mohammed, great video as usual :) nice Ramadhan from Tunisia

akliatharia
Автор

Hello really thanks for the video and your explanation. But if we would like to authenticate the user automatically once registered? i'd like to return as a response, once the registration succeds, the user email + a login token to be used later by the front end part for authorization

oussemasferipro
Автор

Hi, can you help me ? , I got this error : No matching accepted Response format could be determined.

andrzejpierz
Автор

You should put the requiments for AbstractFosRestController :)

iliyanpetrov