Quantcast
Channel: Off-Topic Posts (Do Not Post Here) forum
Viewing all articles
Browse latest Browse all 14169

WAAD Web Application with Multiple Reply Url

$
0
0

I have created WAAD application with several reply urls, e.g.

https://localhost:4444/Search

https://server/Search

https://stage.company.com/Search

https://production.company.com/Search

I am using WSFederationAuthencationModule.CreateSignInRequest method and passing in the reply URL based upon where the code is being executed 

        public ActionResult Federated()
        {
            var module = FederatedAuthentication.WSFederationAuthenticationModule;
            var scheme = Request.Url.Scheme;
            var replyUrl = Url.Action("Index", "Search", null, scheme);
            var requestMessage = module.CreateSignInRequest(Guid.NewGuid().ToString(), replyUrl, true);
            return new RedirectResult(requestMessage.RequestUrl);
        }

It seems that the code always redirects to the last Reply URL that I modified in the UI.  It seems when you modify the Reply Url it is placed first in the manifest only that Reply Url is used.

Is my understanding Reply URL flawed? 


Haroon


Viewing all articles
Browse latest Browse all 14169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>