You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem including expected versus actual behavior:
FOSUserBundle does not work when configuring form login with json as described here.
Configuring json_login for the actual form submission and form_login for the redirect to login causes the check path to redirect to the login_path
Steps to reproduce:
Configure the firewall with json_login for login handling and form_login for redirects when not authenticated
set check_path in json_login
set login_path in form_login
try submitting a login with post and json body to check_path
The text was updated successfully, but these errors were encountered:
The firewall configuration and the form login implementation are not coming from FOSUserBundle at all, so I don't understand your issue.
FOSUserBundle only provides a controller displaying a login form for convenience (to make it easier to get started with the form_login feature of Symfony) but this controller does nothing except displaying the form for form_login
the issue might be with symfony itself, i don't know...
but when you configure form_login for the symfony redirect and json_login for the auth handling, FOSUserBundle doesn't take the check_path from json_login and complains about it missing from form_login
Symfony FOSUserBundle versions:
Description of the problem including expected versus actual behavior:
FOSUserBundle does not work when configuring form login with json as described here.
Configuring json_login for the actual form submission and form_login for the redirect to login causes the check path to redirect to the login_path
Steps to reproduce:
check_path
in json_loginlogin_path
in form_logincheck_path
The text was updated successfully, but these errors were encountered: