i quite new symfony, having issues login redirect. here snip of security.yml config:
firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false login: anonymous: ~ pattern: ^/login simple_form: authenticator: app.api_authenticator login_path: login check_path: login username_parameter: login[username] password_parameter: login[password] default_target_path: home always_use_default_target_path: true provider: api context: main main: anonymous: ~ guard: authenticators: - app.auth_token_authenticator stateless: true context: main i have setup local instance running on https://localhost. when go login page (https://localhost/login) , submit right credentials, symfony redirects me https://localhost:0/home instead of expected https://localhost/home. ideas wrong? thanks!
i think login_path , login_check should not same route.
login: /***/ check_path: /login_check login_path: /login /***/
Comments
Post a Comment