I have specified two URLs in my Azure Active Directory website configuration Reply URL. One to redirect to my localhost environment when I am running local code and one to redirect to my Azure hosted website when I am running the prod website. But Azure Active directory seems to be ignoring the setting. It only uses one or the other URL but not both. I saw a link describing the problem and a possible solution but it didn't work for me. The link is:

<http://samritchie.net/2013/07/17/azure-ad-single-sign-on-with-multiple-environments-reply-urls/>

How do I setup Azure Active Directory to redirect to appropriate environment?