Goal: I'm currently working on features for a web application which I would like test locally on a smartphone.
Obvious solution: In order to do so, I've browsed the local address and port of my application from a phone connected to the same network as the computer on which I run the app. This also seems to be the standard solution.
Issue: This would work fine, if it weren't for the Microsoft Azure Active Directory authentication. Due to the redirect URI of AD, my app is redirected to localhost rather than the address of the computer which I'm browsing to. The trick seemed to be to replace the adal redirect URI in my config js file with the address of my computer, but that would require adding the specific address of that host to the redirect URI table on the azure portal. To me, this isn't very desirable as I would like cross device access to work for any host and client on the subnet.
I'm not at all comfortable with Azure or Azure AD so for any solution, please give me the dummy explanation. The app is a JS app. I realise I've been giving minimal information but I'll fill in anything needed.
Thank you!