I need to implement a relying party for Open ID in a load balanced environment.
Following the suggestions found here I have tried passing null to the OpenIdRelyingParty constructor. The results are somehow not consistent.
If I use www.myopenid.com as a provider it works.
If I use www.claimid.com as a provider I get the following exception: ProtocolException - No OpenID endpoint found. This exception is thrown on the CreateRequest method call even in a non balanced environment (my local workstation).
Any idea what can I do to make it work for both providers ?
Update:
I have tried the following and unfortunately it doesn't work.
- Updated OpenIdRelyingParty constructor in DotNetOpenAuth.OpenId.RelyingParty.UserController to use null as IRelyingPartyApplicationStore
- Run the sample
- Pass claimid.com/aarnott to the OpenId input
- ProtocolException: No OpenID endpoint found.
The same sample works if I use the default parameterless constructor for OpenIdRelyingParty. I ran the sample on my local machine.