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
2
votes
2 answers

How to fetch email from Yii-eauth?

I am using Yii-eauth for social login. https://github.com/Nodge/yii-eauth Now i am getting username by Yii::app()->user->name. I want to fetch email opf user also . How to do this in Yii 1.1 . Thanx in advance
Vikky
  • 43
  • 1
  • 7
2
votes
1 answer

Google OpenID 2 to be deprecated - how should I implemented single sign on instead?

I am new to the world of web development. I know how to use PHP and so I can do that just fine, but I am a little behind on "modern practices". Last night I went ahead and used the LightOpenID library with CodeIgniter to create a login section on my…
Prodigga
  • 1,457
  • 1
  • 22
  • 37
2
votes
1 answer

php - user system with OpenID: how long to keep the user logged in?

In my system, the user logs in with either Yahoo or Google, and a cookie is set so the user stays logged in. I'm picturing a mismatch between the user being logged in to my system and him being logged in to the outside system. What if the user is…
James F
  • 554
  • 1
  • 9
  • 19
2
votes
0 answers

Automatic login in web app if user is already logged in Google Apps

I would like to know the best way of implementing automatic login to my web site. What I mean by automatic is this: I've already signed into Google. I now go to my web site and its login page. Instead of clicking on the link to login with Google I…
Vishal Suri
  • 447
  • 2
  • 12
  • 32
2
votes
1 answer

Have facebook and windowslive openid url?

I read stackoverflow.com/questions/1827997/is-facebook-an-openid-provider questions. Also I read stackoverflow.com/questions/2264266/what-is-the-openid-url-of-facebook question. But these questions are asked 2 years ago and don't know any changes…
kalaba2003
  • 1,231
  • 3
  • 20
  • 33
2
votes
1 answer

LightOpenID google example just doesn't work

I was transferred to a new project based on php so I've spent last week building my php skills. Today I wanted to make a login page based on google account. It looked like LightOpenID will suffice but I can't get their example to work. Whatever I…
Nemanja Kovacevic
  • 3,510
  • 2
  • 30
  • 45
1
vote
1 answer

OpenID, Google, and pass-through variables?

I am new to OpenID, and I am using LightOpenID to provide authentication against Google accounts. Is it possible to perform an authentication that doesn't involve a header redirection or that can pass through any GET and POST variables that exist…
Kevin
  • 11
  • 1
1
vote
1 answer

Log-in/log-out user status with LightOpenID

I m trying to use LightOpenId for my site to log-in/log-out users. This works fine but my question is "How can I track user log-in/log-out status and take respective actions". I want user to access my site functionality only when they are logged-in…
user392406
  • 1,323
  • 5
  • 28
  • 53
1
vote
1 answer

Yahoo returns different identity URL when using OpenID with delegation

I'm implementing an OpenID based login system with LightOpenID. Following the documentation, I use the $openid->identity property to set and get the identity supplied by the user: Set it before calling authUrl(), and get after validate(). So I do…
Álvaro González
  • 142,137
  • 41
  • 261
  • 360
1
vote
1 answer

Can I use jQuery OpenID Plugin with LightopenID?

I'm using LightopenID and all works fine. But I want a pretty openID selector, and I was trying jQuery OpenID It's working, but I'm lost when it must call to LightopenID. I think is this line:
user512663
  • 173
  • 1
  • 10
1
vote
1 answer

LightOpenID - how to retrieve e-mail from stored session?

I am storing $lightopenid->identity in a codeigniter session as follows: $lightopenid = new Lightopenid; $lightopenid->required = array('contact/email'); if ($lightopenid->validate()) { …
pepe
  • 9,799
  • 25
  • 110
  • 188
1
vote
1 answer

LightOpenID - Provider issued an assertion for an Identifier whose discovery info did not match

This is the error I get after logging into Stack with my LightOpenID provider script. The OpenID Provider issued an assertion for an Identifier whose discovery information did not match. Assertion endpoint info: ClaimedIdentifier: http…
Chris
  • 201
  • 2
  • 13
1
vote
2 answers

Using data in an array

On my php page, I am getting the follow output: Array ( [contact/email] => users_name@email_address.com ) This is produced via the following line in the php code: print_r($openid->getAttributes()); How do I extract the text…
oshirowanen
  • 15,297
  • 82
  • 198
  • 350
1
vote
1 answer

Get access token and secret using OpenID+OAuth (google)

I'm using OAuth with Federated Login (Hybrid Protocol) to allow my users to login once using openID (which works great), and authenticate with the Google Data API at the same time. The Zend_GData library was giving me a headache, so on the…
kbanman
  • 4,223
  • 6
  • 32
  • 40
1
vote
1 answer

LightOpenId does not redirect to sign in page

can someone please help me get this working. The problem is that it just attaches a querystring to the url and that's it. No google sign in…
Richard
  • 4,516
  • 11
  • 60
  • 87