Hello @kvdm.dev,
You changed from pathname to href? Is that correct, I believe that I recommended changing it from pathname…
Glad you got it working.
If you take a look here you can see how I perform the redirect, I return the pathname as ‘/login’ to the pathname element: