Setting Custom Redirects

URLs that a auth will be redirected to after login/logout can be set in configuration via the redirects: key.

If not set, auth will be redirected to the referring page after login, and the homepage after logout.


The redirects: key has two parameters, login: & logout. Each take either a relative or absolute URL.

    login:  /auth/profile
    logout: /authentication/login