Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
Are you sure that you have https wrappers enabled?

Original comment by [email protected] on 5 Jan 2011 at 8:47

from lightopenid.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
that's probably it. Thanks for quick response. Unfortunately i have no control 
over this as i am not the admin. With curl version I get another issue which is 
:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be 
activated when in safe_mode or an open_basedir is set in 
/home/a6630283/public_html/connect/openid.php on line 142

Protocol https not supported or disabled in libcurl

So I guess there is no work around other than switching to a different service 
provider ?

Original comment by [email protected] on 6 Jan 2011 at 2:44

from lightopenid.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
Neither LightOpenID, nor any other php library could possibly support OpenID on 
a php installation with no support for https.

As for the warning you get, it's a consequence of safe_mode being set.
Since safe_mode is deprecated for some time now, switching to another service 
provider would be a good choice.

Original comment by [email protected] on 6 Jan 2011 at 1:53

  • Changed state: Invalid

from lightopenid.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
On my page is safe_mode off, but I get this warning. I guess the reason is 
open_basedir as it is set. Where is the problem? If I deactivate the warning, I 
can use LightOpenID. 

Why do I get this warning? Where is the potential risk?

Original comment by [email protected] on 13 Jan 2011 at 9:54

from lightopenid.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
The problem is, for example, the url http://google.com/accounts/o8/id won't 
work, because google will redirect to https://www.google.com/accounts/o8/id 
using the Location header, and LightOpenID won't be able to follow it.

As for the risk, if CURL_FOLLOWLOCATION is set, php has no control over what 
file curl reads, and it can't enforce open_basedir.

Please use the streams-based version if possible, since it will follow the 
Location headers.

I have pushed a patch and published the new version as LightOpenID 0.4.

Original comment by [email protected] on 13 Jan 2011 at 3:22

from lightopenid.

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.