DEV Community

Discussion on: Integrate Oauth2 for Symfony 4

Collapse
 
_mertsimsek profile image
Mert Simsek

I check it out the issue, I assume you find a solution, right?

Collapse
 
sasa1007 profile image
Sasa Milivojevic

Oh yes sorry I didnt write

in googleController should be

public function connectAction(ClientRegistry $clientRegistry)
{
    return $clientRegistry
        ->getClient('google')
        ->redirect([], [
            'prompt' => 'consent',
        ]);
}
Thread Thread
 
_mertsimsek profile image
Mert Simsek

Perfect! Nowadays, I move to Symfony 5, thanks a lot!