Redirect to url after login

That should be possible by using a custom site method. We had a discussion around such a use case a little while ago, maybe that can serve as an inspiration:

In a nutshell: You can set the home option to call a custom site method (e.g. home: "{{ site.logintarget }}"), where the site method logintarget should return the desired URL. In my solution for that specific scenario, I store the variable URL in the Kirby session, but you could of course use any other source for that URL to be returned.

2 Likes