Questions tagged [lightopenid]

LightOpenID is a lightweight OpenID library written in PHP. It already implements a functional consumer and a provider is under development.

LightOpenID is an open source software project written in PHP 5 for implementing the consumer part of OpenID.

It offers a some documentation about:

Features:

  • Easy to use (you can code a functional client in less than ten lines of code)
  • Uses cURL if avaiable, PHP streams otherwise
  • Supports both OpenID 1.1 and 2.0
  • Supports Yadis discovery
  • Supports only stateless/dumb protocol

Requirements:

  • PHP 5 or later
  • 29.5 KB for the library
103 questions
22
votes
2 answers

OpenId support for Yii

I want to play with OpenID support in Yii. After researching for possible plugins, I found these two. One for OpenidSelector and one for…
Alocus
  • 1,860
  • 3
  • 21
  • 32
21
votes
1 answer

LightOpenID validate() fail on Google Apps

I'm using LightOpenID to authenticate OpenID against Google Apps. I make the initial authURL() request and things are good. I call validate() and it fails. Through copious echo's, i've tracked it down to the last few lines of validate(). From…
Eric B.
  • 241
  • 1
  • 6
13
votes
3 answers

Is Google the only OpenID provider that requires "identifier_select"?

I am developing an OpenID consumer in PHP and am using the fantastic LightOpenID library (http://gitorious.org/lightopenid). Basing my code off of that found in the example client script I have successfully created a consumer. However, I've run…
Skrat
  • 577
  • 2
  • 15
10
votes
4 answers

Log-in the user with LightOpenID

Hello I have downloaded LightOpenID (http://gitorious.org/lightopenid) few hours ago but still can't figure out how to make it work. I got this google example saved in test.php file
T1000
  • 2,909
  • 7
  • 36
  • 53
8
votes
2 answers

How to fetch account data from a provider with LightOpenID?

I'm having problems with a small OpenID-library called LightOpenID . I can authenticate to almost all providers, but I don't know how to fetch the data from the provider. I only get Array(), even with print_r().
Pwntus
  • 121
  • 1
  • 6
7
votes
1 answer

Managing session in REST application after authentication with OpenID

I am building an RESTful application. I plan to use OpenID for user authentication. Currently, I am using LightOpenID for OpenID authentication and I am able to authenticate my users. My question is what next? after authentication! Since, its a…
Abdel Raoof Olakara
  • 19,223
  • 11
  • 88
  • 133
7
votes
1 answer

LightOpenID with Google new OAuth2 system

I'd like to implement an OpenID login system for my web application. I'm using LightOpenID for this. I've went to Google and found out that the old (well documented online) OpenID2 system became old: Important: Google has deprecated OpenID 2.0 and…
user2478925
  • 105
  • 5
7
votes
3 answers

Getting Google Contacts using LightOpenID?

I am currently using LightOpenID to allow users to log into my site, where I can automatically extract their username and email address: $openid->required = array('namePerson/first', 'namePerson/last', 'contact/email'); $openid->identity =…
oshirowanen
  • 15,297
  • 82
  • 198
  • 350
6
votes
2 answers

OpenID login code fails in live server

I want to implement an OpenID login system with latest LightOpenID release. I'm testing the example provided with the source code line by line (I just replaced localhost with $_SERVER['HTTP_HOST'] in the constructor). The issue is that everything…
Álvaro González
  • 142,137
  • 41
  • 261
  • 360
6
votes
1 answer

How do I login the user with Yii and OpenID

I have added simpleopenidselector and lightopenid to my Yii web app and it does authenticate the user and it returns a url with openid data. The next step is to use the data from the OpenID provider to create a new identity in Yii to log in the…
Mark
  • 647
  • 2
  • 9
  • 27
6
votes
1 answer

OpenID Discovery Methods - Yadis VS HTML

Recently, I've begun writing my own PHP OpenID consumer class in order to better understand openID. As a guide, I've been referencing the [LightOpenID Class][1]. For the most part, I understand the code and how OpenID works. My confusion comes when…
Levi Hackwith
  • 9,232
  • 18
  • 64
  • 115
5
votes
4 answers

Getting a gmail address with... openid? oauth?

I'm getting confused. I was able to make openid login kinda work using LightOpenID. All I get doing that is just an openid_identity such as "https://www.google.com/accounts/o8/id?id=xxx". Pretty disappointing: I was expecting to get the email…
o0'.
  • 11,739
  • 19
  • 60
  • 87
4
votes
4 answers

OpenID style login supported by Facebook and Twitter

I am looking to allow users to register and login using their social network accounts from: facebook twitter google yahoo aol etc OpenID seems like a good option but it doesn't appear that Facebook or Twitter support it which kind of makes it…
David
  • 16,246
  • 34
  • 103
  • 162
4
votes
0 answers

Unable to get FirstName and LastName from openid attributes

I am able to get the email when the user sign in via apps.com. My problem is I cant get first name and last name. here's a sample code from intuit, I tried adding 'namePerson/first' and 'namePerson/last', to the required attribute but it doesn't…
4
votes
2 answers

OpenID and OAuth: successor of lightopenid?

Oauth 2.0 seems to be the best-supported tool for external authentication. However, after many, many hours of searching the web I find that there are no easy ways to get started with this when using PHP. Or perhaps (and hopefully) I am just not…
user1162541
1
2 3 4 5 6 7