Category: authentication

Symfony Login Form TODO: provide a valid redirect inside C:xampphtdocsLicentaTenissrcSecurityAppCustomAuthenticator.php

I am new to symfony and this is my first project and I’m trying to create a login form. I created it using make:auth, but when I try to login I get this error: I replaced throw new Exception(‘TODO: provide…

HWIOAuthBundle `An authentication exception occurred` in Symfony 4

i have problem with loggin (HWIOAuthBundle) on my app on Symfony 4. My require in app: hwi/oauth-bundle:v0.6.3 php-http/guzzle6-adapter:v1.1.1 php-http/httplug-bundle:v1.16.0 When I login using facebook and return to my app then I have a url https://127.0.0.1:8000/login#_=_ and i have statement "An…

Symfony – I am not redirected to login when accessing user route

I have these routes: … * @Route(“/”, name=”home”) */ public function homeAction(Request $request) … … * @Route(“/{slug}”, name=”request_list”) */ public function listAction(Request $request) … access_control: – { path: ^/, role: IS_AUTHENTICATED_ANONYMOUSLY } – { path: ^/login, role: IS_AUTHENTICATED_ANONYMOUSLY } -…