Closed MorisR closed 3 years ago
I want to redirect the user back to the origin/referrer/from route after a "signout" followed by a "signin".
loginRedirect
when I try passing a "state" arg to signoutRedirect", the value is being overridden by a random string.
signoutRedirect
userManager.signoutRedirect({ state: 'test' });
any suggestions?
Anyhow, resolved it with a workaround using session storage :/
I want to redirect the user back to the origin/referrer/from route after a "signout" followed by a "signin".
loginRedirect
works fine.when I try passing a "state" arg to
signoutRedirect
", the value is being overridden by a random string.loginRedirect
handle it, but I don't know how to do that.any suggestions?