Login - redirectUrl back to

Hello,
i have issues with the redirectUrl after login in the Angular version.
I am redirecting the user to the login page with the redirectUrl parameter, but the user is not redirected back:

I am not sure if an error is in URL format instead of:
http://localhost:8000/login?redirectUrl=%2Cm
It generates:
http://localhost:8000/login/%2Fcm

Thank you

Radzen page parameters map to Angular route parameters which are in the form /page-name/param1/param2 - this is why you see that URL being created. The redirectUrl is a regular query parameter which is normally used internally to redirect the user to the current page after login. As a workaround you can use the Execute Code action with code set to

this.router.navigate(['login'], {queryParams: { redirectUrl: '/cm/' }});
1 Like