I also have the same issue, @Phil Gray How did you resolve it?
Authroisation not redirecting to correct URL listed in "Redirect URLs"
Hi
I have a SaaS application which needs access to users' mailboxes.
The issue I'm facing is despite supplying the correct return URL (all lowercase etc), the Authorise process returns the user to what appears to be the last entered URL.
Response.Redirect(String.Format("https://login.microsoftonline.com/common/oauth2/v2.0/logout?post_logout_redirect_uri={0}", Request.Url.ToString.ToLower))
In App Registration, I've tried putting a trailing slash on the page and I've tried specifying .aspx
What's worse is the user doesn't get an error, they get redirected to someone else's application rather than an error!
What do Ihave to do to make sure Azure redirects the user to the correct URL?
Thanks