Dhr_RT
04/10/2022, 2:31 PMrp
04/10/2022, 2:32 PMDhr_RT
04/10/2022, 2:40 PMrp
04/10/2022, 2:46 PMDhr_RT
04/10/2022, 2:50 PMrp
04/10/2022, 2:53 PMDhr_RT
04/10/2022, 2:54 PMrp
04/10/2022, 2:55 PMDhr_RT
04/10/2022, 2:56 PMrp
04/10/2022, 5:42 PMredirectToPath
is undefined if you navigate to the login screen manually and then sign in.
The reason it's an empty string for you must be that you navigated to /
and that automatically redirected you to the login screen (since you must have guarded that route with the auth wrapper). In this case, post sign in, the user should be expected to back to /
(since they came from that).Dhr_RT
04/11/2022, 6:26 AMrp
04/11/2022, 6:26 AMDhr_RT
04/11/2022, 6:27 AMrp
04/11/2022, 6:32 AM