Restrict Login Email with Google OAuth2.0 to Specific Domain Name

So I’ve got an answer for you. In the OAuth request you can add hd=example.com and it will restrict authentication to users from that domain (I don’t know if you can do multiple domains). You can find hd parameter documented here I’m using the Google API libraries from here: http://code.google.com/p/google-api-php-client/wiki/OAuth2 so I had to manually … Read more

How can I get stock quotes using Google Finance API?

The Google Finance Gadget API has been officially deprecated since October 2012, but as of April 2014, it’s still active. It is completely dead as of March 2022. http://www.google.com/finance/info?q=NASDAQ:GOOG http://www.google.com/finance/info?q=CURRENCY:GBPUSD http://finance.google.com/finance/info?client=ig&q=AAPL,YHOO You can also get charts: https://www.google.com/finance/getchart?q=YELP Note that if your application is for public consumption, using the Google Finance API is against Google’s terms … Read more

Google OAuth 2.0 redirect_uri with several parameters

You cannot add anything to the redirect uri, redirect uri is constant as set in the app settings of Oauth. eg :http://www.example.com/redirect.html To pass several parameters to your redirect uri, have them stored in state parameter before calling Oauth url, the url after authorization will send the same parameters to your redirect uri as state=THE_STATE_PARAMETERS … Read more

Keep getting a “Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup” when attempting to google plus login on my web app

I too ran into the same error – “Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup”. I went and checked my google developer console under APIs for the project associated with the API key/ auth key, eg, https://console.developers.google.com/project/<your app id>/apiui/api. The status for Google+API was set to OFF. I turned it ON. I … Read more