I’m trying to redirect a user after login (or during login) from a rule based on the role. I’ve set up my basic rule and I can correctly redirect to a general url (let’s say google.com) once added to the allowed redirect domains.
But what I want to achieve is to redirect the user to a specific page of my site: I have users in a waiting list and I want to redirect those users to my_domain/waiting
.
So if I’m working in the “testing/develop” environment I would like to redirect to 127.0.0.1:8000/waiting
, but when I’m online I’ll redirect to my_domain.com/waiting
.
How can I do it? I think it should be really easy but…
Thank you!