google-openid

Is it possible to get an Id token with Chrome App Indentity Api?

我怕爱的太早我们不能终老 提交于 2019-11-27 13:43:12
I can't get a user's id_token ( https://developers.google.com/accounts/docs/CrossClientAuth ) from the Chrome identity api ( https://developer.chrome.com/apps/identity ). I can get an access_token using the chrome identity sample when the oauth section in the manifest is: "oauth2": { "client_id": "<chrome-app-client-id>.apps.googleusercontent.com", "scopes": ["https://www.googleapis.com/auth/plus.login"] } But when I try to get the id_token the same way I get it on my android client a get the error: "OAuth2 request failed: Service responded with error: 'invalid scope: {0}'"} The manifest

OpenID Connect delegation with Google now that they are deprecating their OpenID2 provider?

旧巷老猫 提交于 2019-11-27 13:41:32
问题 For years I have used OpenID delegation to log in to Stack Overflow (among other sites) using my own URI as OpenID but having Google handle the authentication. I use the technique described in this Stack Overflow question; so, my custom OpenID http://tupelo-schneck.org/robert resolves to an HTML page containing this: <link href="https://www.google.com/accounts/o8/ud" rel="openid2.provider" /> <link href="https://www.google.com/profiles/schneck" rel="openid2.local_id" /> Now, however, I have

Google Sign In for Web Apps not working with Internet Explorer

一个人想着一个人 提交于 2019-11-27 11:46:52
问题 Using the quick start sample provided by Google I've been able to get Sign In for Web Apps to work in Chrome and Firefox. However it fails on Internet Explorer (version 11.) It will log the user into Google but the data-onsuccess call back is never called. And there are typically no notifications of any errors. I've read a related question and have tried the suggestions around Trusted Sites. I've also experimented with adjusting when IE accepts 3rd party cookies but none of this seems to work

Migrating Google OpenID to OpenID Connect: openid_id does not match

无人久伴 提交于 2019-11-27 03:33:37
问题 I have begun the process of Migrating from Google OpenID to the OpenID Connect with OAuth 2.0 following what is presented in the Documentation. I am able successfully complete the workflow of retrieving the openid_id and sub inside the id_token from the token endpoint, but when I do, the openid_id does not match the existing identifier we have in our system. Preventing me from mapping the existing user to the new ID and preventing the user from logging into our application (or possibly being

OWIN&#39;s GetExternalLoginInfoAsync Always Returns null

*爱你&永不变心* 提交于 2019-11-26 09:24:17
问题 I\'ve created a new MVC5 Web Application, and when I try to login with Google or Facebook, the ExternalLoginCallback Action in the AccountController is called, but GetExternalLoginInfoAsync() always returns null: var loginInfo = await AuthenticationManager.GetExternalLoginInfoAsync(); if (loginInfo == null) { return RedirectToAction(\"Login\"); } Because it\'s always null, it just redirects back to the login page and the process starts over. How can I fix this? 回答1: To get OWIN Google login