google-openid

How do I retrieve google profile with DotNetOpenAuth?

限于喜欢 提交于 2019-12-01 01:09:08
I am trying to use DNOA for OpenId support to my app, in order to leave the Janrain solution I have been using so far. The problem is that the users I have so far have profile based identifiers (https://www.google.com/profiles/11223344556677... ), while the identifier retrieved by DNOA is in the form https://www.google.com/accounts/o8/id?id=xxxxxyyyyyafgsdgfsdhg . How do I retrieve the profile information? Through Attribute Exchange? and which attribute? Or is there some other API? I saw that the login page has a provider for google and a different one for google profile, so someone around

Google OpenId: No OpenID endpoint found (intermittent)

杀马特。学长 韩版系。学妹 提交于 2019-11-30 19:34:35
Usually using the Google OpenId works fine, thousands of times a day, then it will start intermittently going wrong and timing out for an hours or so (some requests will validate but not all). Repeated validation will eventually work. Error messages are: Event code: 200000 Event message: No OpenID endpoint found. : https://www.google.com/accounts/o8/id Sequence contains no elements Adding in log4net yields: DotNetOpenAuth.Yadis: Error while performing discovery on: "https://www.google.com/accounts/o8/id": DotNetOpenAuth.Messaging.ProtocolException: Error occurred while sending a direct message

How do I retrieve google profile with DotNetOpenAuth?

主宰稳场 提交于 2019-11-30 19:31:51
问题 I am trying to use DNOA for OpenId support to my app, in order to leave the Janrain solution I have been using so far. The problem is that the users I have so far have profile based identifiers (https://www.google.com/profiles/11223344556677... ), while the identifier retrieved by DNOA is in the form https://www.google.com/accounts/o8/id?id=xxxxxyyyyyafgsdgfsdhg. How do I retrieve the profile information? Through Attribute Exchange? and which attribute? Or is there some other API? I saw that

Is it possible to get profile information in an id_token from Google?

杀马特。学长 韩版系。学妹 提交于 2019-11-30 11:50:14
When using Google's OpenIDConnect authentication system, it's possible to specify email or profile or both in the scope parameter. If you request the email scope, the "email" and "email_verified" claims will be included in the id_token that gets returned as part of a successful OAuth2 authentication session. Here's an example from Google's documentation: An ID token's payload An ID token is a JSON object containing a set of name/value pairs. Here’s an example, formatted for readability: {"iss":"accounts.google.com", "at_hash":"HK6E_P6Dh8Y93mRNtsDB1Q", "email_verified":"true", "sub":

Google authentication for Gerrit and Jenkins

假装没事ソ 提交于 2019-11-30 08:39:01
Jenkins and Gerrit have both plugins for OpenID 2.0, but this API has been deprecated by Google May 19 2014 ( https://developers.google.com/accounts/docs/OpenID ) making it impossible for new installation to use and existing installations must migrate to OAuth2.0(OpendID connect). When trying to use OpenID 2.0 you will get the error message "Error 400: OpenID auth request contains an unregistered domain". The Gerrit team is aware of the problem but no solution as of yet: https://code.google.com/p/gerrit/issues/detail?id=2677 Not sure about Jenkins. revau.lt Update 2014/11/05 : For those coming

Google OAuth 2 Refresh Token is Missing for Web App but Present for localhost

孤者浪人 提交于 2019-11-30 08:30:13
问题 Problem: Missing OAuth 2 Refresh Token. The problem is that the localhost version receives a Refresh Token as part of the granted token but the same code running in GCE does not. Details: I have written a Python Flask application that implements Google OAuth 2.0. This web application runs in the cloud with a verified domain name, valid SSL certificate and HTTPS endpoint. This web application unmodified also runs as localhost . The differences between the runtime is that the localhost version

AuthenticationResult.IsSuccessful started returning false for google

寵の児 提交于 2019-11-30 07:50:24
问题 Today, without any change on my live site, logging in with the Google external login provider stopped working. This only happens to users that have a google login, other providers are fine. This also only happens on the live site, my dev machine running the debug version of the same code is fine. My code is similar to the example MVC app with: public ActionResult ExternalLoginCallback( string returnUrl ) { ... AuthenticationResult result = OAuthWebSecurity.VerifyAuthentication( Url.Action(

How can I reliably link to a Gmail conversation given a thread ID if the user is logged into multiple accounts?

你说的曾经没有我的故事 提交于 2019-11-30 07:38:16
问题 If you're logged into multiple Gmail accounts, Google changes the URLs to reference which account you're currently using. For example: https://mail.google.com/mail/u/0/#inbox/138d85da096d2126 for a convo in my primary account vs https://mail.google.com/mail/u/1/#inbox/128cfe99d055805d for a convo in another one of my accounts. Note that one account has /u/0 in the URL and the other has u/1 . My question is: given that I've used the Gmail REST API to find the ID of a particular thread, how can

Google OpenId: No OpenID endpoint found (intermittent)

筅森魡賤 提交于 2019-11-30 04:21:54
问题 Usually using the Google OpenId works fine, thousands of times a day, then it will start intermittently going wrong and timing out for an hours or so (some requests will validate but not all). Repeated validation will eventually work. Error messages are: Event code: 200000 Event message: No OpenID endpoint found. : https://www.google.com/accounts/o8/id Sequence contains no elements Adding in log4net yields: DotNetOpenAuth.Yadis: Error while performing discovery on: "https://www.google.com

How to implement Openid connect and Spring Security

只谈情不闲聊 提交于 2019-11-30 02:24:16
I am beginner of authentication and authorization but I have to connect to a openid connect provider on my job. I know a little about how to use Spring Security. First, I got UserInfo object thanks by following nice direction. https://oauthssodemo.appspot.com/step/1 And then I found a great implementation named "spring-security-oauth" below. I could run the app on tomcat and connect to facebook successfully. https://github.com/SpringSource/spring-security-oauth As next step, I want to connect google by using "spring-security-oauth" but I do not know how to do that completely. (To be honest, I