How can I decode a google OAuth 2.0 JWT (OpenID Connect) in a node app?

From the specification point of view, what you are encountering is [OpenID Connect]. id_token is a [JWS] signed [JWT]. In this case, it is a “.” separated string with three components. The first portion is the header. The second is the payload. The third is the signature. Each of them are Base64url encoded string. When … Read more

OWIN’s GetExternalLoginInfoAsync Always Returns null

To get OWIN Google login to work properly on a standard Visual Studio 2013, ASP.Net MVC5 site, I had to: Setup a Google OpenId account at https://console.developers.google.com/project Set the callback URL there to blah/signin-google. Important notes on things you don’t need to do: You don’t need to use HTTPS for Google to redirect back; you … Read more