I want a user to login (login page) and be redirected to the page on which they were before authentication.

For information, I created the login page using the `make:auth`-command and the redirection (in the code) is done in this code in the `AppAuthenticator`-class:

```
public function onAuthenticationSuccess(Request $request, TokenInterface $token, $providerKey)
{
    return new RedirectResponse($this->urlGenerator->generate('page_to_redirect'));
}

```