asp.net - Dynamically set the WSFederationAuthenticationModule.Issuer and Realm property -


i want avoid having node in web.config , hence set issuer , realm dynamically in onauthenticaterequest event. error "system.argumentexception: id0006: input string parameter either null or empty. parameter name: issuer"

i error before onauthenticaterequest event raised. missing here?

afaik, need provide configuration before start authenticating. can done in web.config. can tap event federatedauthentication.federationconfigurationcreated += federatedauthenticationonfederationconfigurationcreated;

to start providing own configuration.


Comments

Popular posts from this blog

c# - ItextSharp font color issue in ver 5.5.4+ -

jquery - Multiple issues with pushstate: history, loading, calling functions -

ios - retrievePeripherals deprecated in IOS7 how to substitude it with retrievePeripheralsWithIdentifiers -