Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8599429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:23:46+00:00 2026-06-12T01:23:46+00:00

I am using php lightopenID on my website for authenticating Google Users. I require

  • 0

I am using php lightopenID on my website for authenticating Google Users. I require the email address, firstname and lastname. It works 99% of the time but there are couple of time when it I dont get the required information, sometimes the firstname and or lastname is empty.

I assume the reason I am getting empty firstname and empty lastname is because the user forgot to put those details in his google account but then I think why will Google allow such thing to happen. Is my assumption correct?

Is there something I can do from the server side when Google does not return the firstname/lastname?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:23:47+00:00Added an answer on June 12, 2026 at 1:23 am

    Is there something I can do from the server side when Google does not
    return the firstname/lastname?

    Prompt them to enter there name, or assign them as User123456 like here on stackoverflow.

    You should design your app to work even for people that dont want to share, @MathieuImbert is correct you should not force personal info from your user. create an engaging site/interface and encourage your user to complete a profile.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using LightOpenID to enable Google Authentication in my PHP web application. However
I am using lightopenID and am still using the example-google.php file included. I have
Using PHP, I am trying to delete a record, but I want to check
using php and mysql I have two tables, a users table and a profiles
I am developing an OpenID consumer in PHP and am using the fantastic LightOpenID
Using PHP, how can I match subscribers to users with these two arrays? $subscribers
Using php/html, I want to retrieve email addresses (plus other information) from MySQL and
Using PHP to try and tackle this problem, but open to other solutions (Python,
using php or javascript or ajax how to replace specific link to * http://www.google.com/
Using PHP, I am building an application that is MySQL database resource heavy, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.