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 8387289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:10:16+00:00 2026-06-09T18:10:16+00:00

I am currently experimenting with implementing an openID for a small website for college.

  • 0

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 hosting their email service so typical email addresses are: like this studentlastname@myuniversity.edu. We can login through mail.google.com or a custom web page designed by google specifically for our login mail.google.com/a/oakland.edu/.

Instead of having users be redirected to the general $openid->identity = 'https://www.google.com/accounts/o8/id'; can I have the users directed to the custom university google hosted page to authenticate?

Gives me error:

No OpenID Server found at http://mail.google.com/a/oakland.edu/accounts/o8/id

openid.php:

<? 
    <?php
    require 'openid.php';
    try {
        # Change 'localhost' to your domain name.
        $openid = new LightOpenID('http://webprolearner.ueuo.com');
        if(!$openid->mode) {
            if(isset($_GET['login'])) {
                $openid->identity = 'mail.google.com/a/oakland.edu/accounts/o8/id';
                header('Location: ' . $openid->authUrl());
            }
    ?>
    <form action="?login" method="post">
        <button>Login with Google</button>
    </form>
    <?php
        } elseif($openid->mode == 'cancel') {
            echo 'User has canceled authentication!';
        } else {
            echo 'User ' . ($openid->validate() ? $openid->identity . ' has ' : 'has not ') . 'logged in.';
        }
    } catch(ErrorException $e) {
        echo $e->getMessage();
    }
  • 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-09T18:10:18+00:00Added an answer on June 9, 2026 at 6:10 pm

    As far as I know, the correct identity in your case would be:

    https://www.google.com/accounts/o8/site-xrds?hd=oakland.edu
    

    This url returns a valid XRDS (so LightOpenID will find a server).

    Note that if the server isn’t configured properly, you might get a similar error when calling validate().

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

Sidebar

Related Questions

Im new to objC and Im currently experimenting on UISearchDisplayController. Basically I have an
Currently, i'm experimenting with a very simple GUI drawing ... engine (i guess you
I am currently experimenting with various input controls and have stumbled upon SneakyInput, which
Hi I'm currently experimenting with Raphael JS 2 and have produced a nice circle
I'm currently experimenting with the WPF NHibernate toolkit and I have to say: it's
I am currently experimenting with TFS, and I really like it. One small question,
I'm pretty new to unit testing and currently experimenting a bit with Visual Studio's
I am currently experimenting with the Expression Encoder SDK, but I find it very
I am fairly new to java and I am currently experimenting with sockets and
Okay so I'm fairly new to PHP and I am currently experimenting with arrays.

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.