Skip to main content
Share Your Experience: Take the 2024 Developer Survey
Removed the "google" tag - not specific, like google-calendar or google-admin-api, see http://stackoverflow.com/questions/tagged/google
Link
mate64
  • 10k
  • 17
  • 64
  • 96

Delegate OpenID to Google (NOT Google Apps)  

added a sensible question for the answer so a newbie can understand correctly.
Source Link
bPratik
  • 7k
  • 4
  • 38
  • 68

Is it possible to use my personal website/blog to login to sites that use openid, and delegating to my Google account?


OK, I searched this question on SO but no good answer. After spent some time I figured out how to do it. I'm going to answer this myself as a way to share it.

OK, I searched this question on SO but no good answer. After spent some time I figured out how to do it. I'm going to answer this myself as a way to share it.

Is it possible to use my personal website/blog to login to sites that use openid, and delegating to my Google account?


OK, I searched this question on SO but no good answer. After spent some time I figured out how to do it. I'm going to answer this myself as a way to share it.

Removed answer from question
Source Link
Tom Robinson
  • 8.4k
  • 9
  • 59
  • 102

[SOLVED]: Delegate OpenID to Google (NOT Google Apps)

OK, I searched this question on SO but no good answer. After spent some time I figured out how to do it. I'm going to answer this myself as a way to share it. Not sure if this is the correct way to use SO, but here it goes:

Now it is possible delegate OpenID to your Google account (not Google Apps).

No, this is not using the demo OpenID provider using App Engine. This is your REAL Google account!

First you need to enable your Google Profiles. Try to view your profile and edit it, there should be an option to set your Profile URL. You have two choices there: either use your Gmail account name (without the @gmail.com part) as your profile id, or a random number assigned to you. It's up to you to decide which one to use. Either way, that id is your profile id below.

Now add the following HTML code to your delegating page:

<link rel="openid2.provider" href="https://www.google.com/accounts/o8/ud?source=profiles" > 
<link rel="openid2.local_id" href="http://www.google.com/profiles/[YOUR PROFILE ID]" > 

And it's done. Now try login SO with your custom url!

[SOLVED]: Delegate OpenID to Google (NOT Google Apps)

OK, I searched this question on SO but no good answer. After spent some time I figured out how to do it. I'm going to answer this myself as a way to share it. Not sure if this is the correct way to use SO, but here it goes:

Now it is possible delegate OpenID to your Google account (not Google Apps).

No, this is not using the demo OpenID provider using App Engine. This is your REAL Google account!

First you need to enable your Google Profiles. Try to view your profile and edit it, there should be an option to set your Profile URL. You have two choices there: either use your Gmail account name (without the @gmail.com part) as your profile id, or a random number assigned to you. It's up to you to decide which one to use. Either way, that id is your profile id below.

Now add the following HTML code to your delegating page:

<link rel="openid2.provider" href="https://www.google.com/accounts/o8/ud?source=profiles" > 
<link rel="openid2.local_id" href="http://www.google.com/profiles/[YOUR PROFILE ID]" > 

And it's done. Now try login SO with your custom url!

Delegate OpenID to Google (NOT Google Apps)

OK, I searched this question on SO but no good answer. After spent some time I figured out how to do it. I'm going to answer this myself as a way to share it.

Post Made Community Wiki
Source Link
Rio
  • 1.9k
  • 3
  • 25
  • 25
Loading