Comments (5)
Are you sure that you have https wrappers enabled?
Original comment by [email protected]
on 5 Jan 2011 at 8:47
from lightopenid.
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.
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.
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.
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)
- version 0.5 example works but not version 0.6 HOT 3
- Ax/SReg Params may be unsigned
- LightOpenId constructor fails when trusted root URL is less than 8 chars
- Problem with curl request on a server
- Missing: A License File HOT 2
- add composer support HOT 1
- wrong mimetype check in openid.php ? HOT 3
- Use Steam as provider HOT 1
- #-comments HOT 6
- returning clamed_id is a wrong approach HOT 5
- magic get/set methods HOT 3
- LightOpenID magic properties do not work with Twig template engine due to lack of __isset
- New release HOT 1
- keep waiting for localhost HOT 2
- Validation fails when there are accent in the required variable HOT 2
- Yahoo OpenID not working on newer versions of PHP/cURL [patch proposed]
- The regular expressions in htmlTag parse some valid responses incorrectly
- Support for OpenID Connect? HOT 1
- How to select eid applet language ?
- Unregistered domain error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightopenid.