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 -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

javascript - React + webpack: 'process.env' is undefined -