'application_name' => $request->server->get('GOOGLE_PROJECT'),
'client_id' => $request->server->get('GOOGLE_CLIENT'),
'client_secret' => $request->server->get('GOOGLE_SECRET'),
- 'redirect_uri' => $this->generateUrl('rapsys_air_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL),
+ 'redirect_uri' => $this->generateUrl('rapsysair_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL),
'scopes' => self::googleScopes,
'access_type' => 'offline',
'login_hint' => $user->getMail(),
'application_name' => $request->server->get('GOOGLE_PROJECT'),
'client_id' => $request->server->get('GOOGLE_CLIENT'),
'client_secret' => $request->server->get('GOOGLE_SECRET'),
- 'redirect_uri' => $this->generateUrl('rapsys_air_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL),
+ 'redirect_uri' => $this->generateUrl('rapsysair_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL),
'scopes' => self::googleScopes,
'access_type' => 'offline',
'login_hint' => $user->getMail(),
}
//Redirect to user
- return $this->redirectToRoute('rapsys_user_edit', ['mail' => $short = $this->slugger->short($user->getMail()), 'hash' => $this->slugger->hash($short)]);
+ return $this->redirectToRoute('rapsysuser_edit', ['mail' => $short = $this->slugger->short($user->getMail()), 'hash' => $this->slugger->hash($short)]);
}
}