idanto
08/09/2023, 8:56 AM<SessionAuth
onSessionExpired={() => {
console.log('AdminRoute onSessionExpired')
navigate(RoutePaths.Onboarding)
}} requireAuth={true}>
{props.children}
</SessionAuth>
to protect one of my FE routes, we don't use the built-in UI but the onSessionExpired is not being fired in case there is no session.
I have tried to look through the react lib code and I found one code that tests the onSessionExpired prop but it also specifies requieredAuth={false} which doesn't make sense...
do I miss something?rp_st
08/09/2023, 9:03 AMidanto
08/09/2023, 9:09 AMidanto
08/09/2023, 9:09 AMrp_st
08/09/2023, 9:10 AMrp_st
08/09/2023, 9:11 AMrp_st
08/09/2023, 9:30 AMrp_st
08/09/2023, 9:31 AMidanto
08/09/2023, 9:31 AMidanto
08/09/2023, 9:31 AMrp_st
08/09/2023, 9:31 AM