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
1
vote
1 answer

How to migrate from Google openid to Google+ Sign in?

I have been using Google openid on a website and therefore have lots of accounts in my database. They have usernames like https://www.google.com/accounts/o8/id?id=AItOaadsfhaskjhfkjsahfkjsdhf. I want to migrate to Google+ sign-in, but I don't see…
1
vote
0 answers

How to get the user's Yahoo GUID using openid?

Is there a way to get the user's Yahoo GUID? I'm using lightopenid and can perfectly extract user's email, name, and openid id but not its yahoo guid.
hugseirvak
  • 315
  • 1
  • 2
  • 11
1
vote
1 answer

LightOpenID Login for Single File PHP Gallery - Images not accessible

i've got the Single File PHP Gallery and an OpenID provider. The gallery should only be accesible for registered users, so i tried to add a login to the gallery via LightOpenID. Additonal i have to set a cookie for to stay logged in. In…
mars
  • 40
  • 6
1
vote
1 answer

OpenID/LightOpenID: validate() failure

I'm using the LightOpenID library to attempt to register a user via OpenID. Everything seems to be working just fine for Google authentication except that validate() always fails. I'm dumping $openid and all the data seems to be in order, though…
kladd
  • 159
  • 1
  • 9
1
vote
1 answer

How does the validate() function stop fake authentication requests?

I have just debugged a piece of my php code where my login code was not validating the request properly. I had somehow skipped using the ->validate() function and one of my website testers managed to log into an admin account by getting the response…
T May
  • 466
  • 1
  • 8
  • 18
1
vote
1 answer

Getting data from openID

I'm trying to get data using LightOpenID. As is, the code below is working, but if I un-comment the lines to get more info it times out and doesn't show any errors. What am I doing wrong? require_once('inc/func/_functions.php'); require…
Zev
  • 3,423
  • 1
  • 20
  • 41
1
vote
1 answer

lightopenID for university Google-hosted email

I am currently experimenting with implementing an openID for a small website for college. I am very new to this and have followed up with related articles. I have downloaded lightopenId and uploaded the folder to my webserver. My school has google…
user1434156
0
votes
2 answers

How can I know that a user really login using OpenID or just pasting the URL from the previous login?

I have two pages: login.php and return.php. Both use LightOpenID. The page login.php creates a link to an OpenID provider and tells the provider to return the result to return.php The following are the normal flow of using those two pages. Go to…
wannik
  • 12,212
  • 11
  • 46
  • 58
0
votes
1 answer

How to ask LightOpenId to get the users email in checkid_immediate mode?

Premises: I am using php LightOpenId to authenticate a users through his google account. I am using the standard sample provided (example.php) from the website. Nothing fancy. Adding one line or two to change the behavior. All my clients are…
Alain
  • 1,450
  • 3
  • 20
  • 37
0
votes
4 answers

how to use openid for login system in website that allow only authorized users to access site

I m creating website that use openid for login system(login with gmail/yahoo accounts). I want only authorized users(users whose info. I already stored in my DB) should access site. With openid anyone can login with their gmail/yahoo accounts but I…
user392406
  • 1,323
  • 5
  • 28
  • 53
0
votes
1 answer

how to get data in hidden form(post) using LightOpenId

I m trying to create login system that uses openid for this I used following code mode){ if(isset($_GET['login'])){ if(isset($_POST["google"])){ …
user392406
  • 1,323
  • 5
  • 28
  • 53
0
votes
1 answer

Lightopenid and yahoo user email

What's the current state of Yahoo's openid support? No matter how I tried, it only gives back the nameperson attribute, but I can't get the user's email (contact/email). Is there any way to get the email with the lightopenid library?
Jauzsika
  • 3,171
  • 3
  • 23
  • 32
0
votes
1 answer

Lightopenid, Gmail Auth, show popup instead of fullpage form

I'm using lightopenid for authentication to gmail. Found here: The default way of presenting the login page for gmail is the full page version. But I have noticed other websites showing a "popup version" and in the URL is <mpl=popup I've…
PaulM
  • 3,281
  • 3
  • 28
  • 38
0
votes
1 answer

Tips for reliable OpenID with your own domain

I'm trying to build a personal OpenID-based online identity using my domain name as identifier. I want to be able to accomplish all this: Make http://alvaro.es/ my identifier. Be able to switch providers transparently. Log into any third-party site…
Álvaro González
  • 142,137
  • 41
  • 261
  • 360
0
votes
1 answer

LightOpenID - Provider - Script is stuck at "allow once","allow always","cancel"

I have the example-mysql.php LightOpenID provider script running on a localhost virtualhost on my machine. I updated the table names and mysql_connect() parameters to work on my local machine. I also created a user in the users table. I'm using the…
Chris
  • 201
  • 2
  • 13