asp.net - Can I test OpenID Provider on server from a Relying Party in my local machine? - DotNetOpenAuth -


i had created provider , relying party in visual studio using dnoa library , worked well. then, moved provider server , tried test relying party local machine. rp gives error of 'no openid endpoint found'.

i think missing in web.config. in whitelisthost attribute, have added wildcard "*" should make provider accept requrests (for testing purpose). there else not aware of? relatively new topic.

web.config -

<!-- uri section necessary turn on .net 3.5 support idn (international domain names),    necessary openid urls unicode characters in domain/host name.     required put uri class rfc 3986 escaping mode, openid , oauth require. --> <uri>     <idn enabled="all"/>     <iriparsing enabled="true"/> </uri> 

<!-- optional configuration section aspects of dotnetopenauth can customized --> <dotnetopenauth>     <openid>         <provider>             <security requiressl="false" />             <behaviors>                 <!-- behaviors activate automatically individual matching requests.             first 1 in list match incoming request "owns" request.  if no            profile matches, default behavior assumed. -->                 <!--<add type="dotnetopenauth.openid.provider.behaviors.ppidgeneration, dotnetopenauth"/>-->             </behaviors>         </provider>     </openid>     <messaging>         <untrustedwebrequest>             <whitelisthosts>                 <!-- since sample, , used localhost -->                 <add name="localhost"/>                 <add name="*"/>             </whitelisthosts>         </untrustedwebrequest>     </messaging>     <!-- allow dotnetopenauth publish usage statistics library authors improve library. -->     <reporting enabled="true" /> </dotnetopenauth>  <appsettings>     <add key="whitelistedrealms" value="http://localhost:39165/;http://othertrustedrealm/;http://localhost/;http://localhost:4856/"/>     <!-- set implicitauth true when using windows auth, or false formsauthentication -->     <add key="implicitauth" value="true"/> </appsettings> .... 

edit: not sure if matters server uses ssl.

i not sure if ever found answer question, had same problem. able repair issue whitelisting localhost on not provider end relying part end well.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -