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 -

Simple Angular 2 project fails 'Unexpected reserved word' -

php - Get process resource by PID -