Code Monkey home page Code Monkey logo

Comments (4)

 avatar commented on July 19, 2024

Hi Andrew, was this fixed or is there a work around? I updated to the latest version and cannot use RequireSSL in my web.config for my Google Apps implementation.

With the DotNetOpenAuth.OpenId.RelyingParty.OpenIdTextBox control, I get this error if I turn RequireSSL to on:

{DotNetOpenAuth.Messaging.ProtocolException: 
Sorry.  This site only accepts OpenIDs that are HTTPS-secured, but 
http://gaschool.scolab.com/openid?id=116298317018479467791 is not a secure Identifier." 
at DotNetOpenAuth.Messaging.ErrorUtilities.VerifyProtocol(Boolean condition, String message, Object[] args)
at DotNetOpenAuth.Messaging.ErrorUtilities.ThrowProtocol(String message, Object[] args)
at DotNetOpenAuth.OpenId.RelyingParty.PositiveAuthenticationResponse.VerifyDiscoveryMatchesAssertion(OpenIdRelyingParty relyingParty)
at DotNetOpenAuth.OpenId.RelyingParty.PositiveAuthenticationResponse..ctor(PositiveAssertionResponse response, OpenIdRelyingParty relyingParty)
at DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.GetResponse(HttpRequestInfo httpRequestInfo)}

Does this mean I have content going over an insecure channel, or just that I do not enforce such behavior?

Thanks a lot, keep the good work!
Carl

from dotnetopenauth.

AArnott avatar AArnott commented on July 19, 2024

No, this hasn't been fixed yet.

from dotnetopenauth.

 avatar commented on July 19, 2024

Thanks for the update. Can you tell me the security implication of turning RequireSSL to off?

Does this mean I have content going over an insecure channel, or just that I do not enforce such behavior?

Thanks!
Carl

from dotnetopenauth.

AArnott avatar AArnott commented on July 19, 2024

RequireSsl=false does not mean that SSL will not be used. It merely means that DNOA will permit use of non-SSL channels if such channels are either the only option, or according to XRDS discovery considered to be the preferred option.
RequireSsl=true guarantees that only SSL channels will be used. If your only discovery module is the HostMetaDiscoveryService one (you've removed the normal one) then you may already be set to go. If I recall correctly, the HTTPS URLs are already hard-coded, so RequireSsl=true may not offer anything new to you. Not certain, this is from memory.

from dotnetopenauth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.