No OpenID endpoint found with rejectAssertionsFromUntrustedProviders="true"

95 views
Skip to first unread message

Odingal Vinarsson

unread,
Nov 20, 2014, 4:04:11 AM11/20/14
to dotnet...@googlegroups.com
If you use this (Belgian government identity provider)

   <trustedProviders rejectAssertionsFromUntrustedProviders="true">
   <add endpoint="https://www.e-contract.be/eid-idp/endpoints/openid/ident" />
   </trustedProviders>

you get:

[InvalidOperationException: Sequence contains no elements] System.Linq.Enumerable.First(IEnumerable`1 source) +269 DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.CreateRequest(Identifier userSuppliedIdentifier) in c:\BuildAgent\work\1e6dbb6a394efdc4\src\DotNetOpenAuth.OpenId.RelyingParty\OpenId\RelyingParty\OpenIdRelyingParty.cs:412 [ProtocolException: No OpenID endpoint found.] DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.CreateRequest(Identifier userSuppliedIdentifier) in c:\BuildAgent\work\1e6dbb6a394efdc4\src\DotNetOpenAuth.OpenId.RelyingParty\OpenId\RelyingParty\OpenIdRelyingParty.cs:414

If you change it to:

   <trustedProviders rejectAssertionsFromUntrustedProviders="false">
   <add endpoint="https://www.e-contract.be/eid-idp/endpoints/openid/ident" />
   </trustedProviders>

It just works....

So is there anything wrong with the endpoint url? or is this just a bug in the library?
Reply all
Reply to author
Forward
0 new messages