Comments (6)
Just one question:
Does $openid->identity not return valid value for you? I've just tested the
example, and it works fine for me(and it does return claimed_id), so I can't
reproduce the problem.
$this->claimed_id is set at the beggining of validate() function. Before
calling it, you shouldn't read $openid->identity at all (since an unverified
identity is worthless).
Original comment by [email protected]
on 2 Oct 2010 at 10:14
from lightopenid.
Oops, heh heh, my bad.
Thanks!
Original comment by [email protected]
on 2 Oct 2010 at 4:54
from lightopenid.
Original comment by [email protected]
on 2 Oct 2010 at 6:17
- Changed state: Invalid
from lightopenid.
[deleted comment]
from lightopenid.
but how to get userid with $openid?
ps: i want to get avatar of user gooogle by $openid
Original comment by [email protected]
on 18 Feb 2014 at 4:11
from lightopenid.
This is a bugtracker, not a place to ask questions.
I'd suggest reading a bit about OpenID itself (so that you know why there's no
such thing as "userid", other than `$openid->claimed_id`), and then, if you
still have questions, asking them on StackOverflow (or somewhere else if you
like).
That will make it easier for other people to find the answer to your, and
similar questions, not to mention that more people will see and possibly answer
them.
Original comment by [email protected]
on 18 Feb 2014 at 6:51
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.