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

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

ios - Possible to get UIButton sizeThatFits to work? -