{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/db79fbd897354415a80f8e11b8a83612\" frameborder=\"0\" width=\"1858\" height=\"1393\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1393,"width":1858,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1393,"thumbnail_width":1858,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/db79fbd897354415a80f8e11b8a83612-00001.gif","duration":98.46,"title":"Redirecting to SignIn Page when accessing Protected Route with incorrect credentials","description":"In this video, I demonstrate the functionality of the review app application. I start by showing that there are currently no authentication tokens present. Then, I attempt to access a protected route, which redirects me to the sign-in page. After successfully logging in, I showcase how the authentication token is obtained and how it allows me to access protected records. Next, I simulate the expiration of the authentication token and demonstrate the consequences. Watch this video to understand the authentication process and the behavior of the app when the token expires."}