{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/b1b6b7e52a884a2f8e097e25a53e77f3\" frameborder=\"0\" width=\"1670\" height=\"1252\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1252,"width":1670,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1252,"thumbnail_width":1670,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/b1b6b7e52a884a2f8e097e25a53e77f3-00001.gif","duration":217.02,"title":"Testing Impersonating User Feature","description":"In this video, I demonstrate the testing of our project, which involves implementing an impersonating user feature. I use Postman to test the functionality and showcase how it works. I also provide a live URL where the project is hosted. By logging in as a super admin, I generate a token that will be used for authorization in subsequent requests. I explain the first API we implemented, which allows the logged-in user to impersonate other users based on their role. I also demonstrate how to impersonate different roles such as admin and TA. Finally, I show how to log in as a different user and test the impersonation feature. No action is requested from the viewers, but they can play around with the Postman collections provided. Thanks for watching!"}