How to make a single endpoint operation public in API Platform?
In API Platform, I have all the endpoints secured with JWT but I would like to have the POST User public so users can register themselves.
In API Platform, I have all the endpoints secured with JWT but I would like to have the POST User public so users can register themselves.
I am using symfony version 5.4.4., and the first page of my application is a login page, but when I load it, I get this error:
I’d like to log the user in right after the registration process, without passing by the login form.
I updated my Symfony environment form 3.3 to 4.0. After the update I have problems with the login (user provided by database). When I submit the login form, I just got right back to the login form without any error message. When I use invalid credentials, I got the corresponding error message. Here is the log after trying to login. The login with the “in_memory” user provider is working. Do you need more information?