문제

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.

도움이 되었습니까?

해결책

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="https://profiles.google.com/[YOUR PROFILE ID]" /> 

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

다른 팁

Goto Visual Studio, 솔루션 탐색기 내의 폴더 오른쪽 하단에있는 녹색 원을 포함하는 폴더를 찾으십시오 ... 그것은 매핑 된 폴더입니다. 폴더 + 폴더로 이동하여 원하는 파일을 찾으십시오.그냥 제거하고 원하지 않는 파일을 마우스 오른쪽 단추로 클릭하고 삭제를 클릭하십시오!

파일을 어디에서 삭제하고 있습니까?14 하이브?14 어디 있니?

OpenID 2.0 for Google Accounts has gone away https://support.google.com/accounts/answer/6206245

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top