In my project all the Gmail users can access my application. So I referred Google API, The suggest me to use OpenID / OAuth.
Could you say which one is better.
I referred many no. of tutorials regarding oAuth, but none of them satisfied me.
So Please advice, the simple method to achieve this.
I would recommend the OpenID+OAuth Hybrid protocol as it lets you combine an OpenID request with an OAuth authentication request. This extension is useful you if require the use both OpenID and OAuth, particularly in that it simplifies the process for users by requesting their approval once instead of twice.
It means you can use google APIs aswell as pull back the user's information. This is a very interesting article on the differences and similarities of oAuth + openID.
However, if you don't need to use any of the google API's and just need to pull back user info have a look at LightOpenID - it is really easy to use. and has an out-the-box example with Google OpenID
Related
I have a working php code which lets users login through Google Api.
The problem is, this code requires users to become Google Plus users.
I use the latest api located at http://code.google.com/p/google-api-php-client/downloads/list and still couldn't find out if I can use the same service for people who do not have and do not want to activate Google "plus".
update: I understand that this might be a 3rd party api question and I also think that this is a question about a popular 3rd party api and this question and it's answers may still help many people out there.
answer of the question: for quick reference, the answer is *Google_Oauth2Service* class
You can use Google OAuth as a mechanism to authenticate users without requiring that those Google users have activated Google+ accounts. See Using OAuth 2.0 for login. This approach relies on requesting the user's identity via the userinfo.profile or userinfo.email OAuth scopes.
You get advanced functionality and social capabilities if you use Google+ Sign-In, and if your users opt for that option, they will be prompted to upgrade their Google account. This approach uses the plus.login OAuth scope, which gets you identity information in addition to other API methods that can be called.
Choosing the approach that works for your app and audience is up to you.
As of june 2015, you have to use the google+ API to set up the sign-in (Other methods were deprecated).
If you want your user to sign-in without a google+ account, you need to specify "profile" instead of "https://www.googleapis.com/auth/plus.login" as the scope as explained here
I have signed a NDA with yodlee and i have got all the SDK files(java,jar and other related docs).
I am a PHP Programmer and from my understanding:
Yodlee is like an engine (almost like Twitter or Facebook) and we need to leverage the API to build different apps
The documents I have gone through is not with good-sufficient information.
They use SOAP-API and I need to use this API.
I have surfed the net for days, and finally posting a question here.
My Question is very simple
I have to register a user from my php-form to yodlee using soap-api -> Is this possible
If No, is it possible to login from my web-portal to yodlee and access the fin.apps.?
# 1 is possible. Other clients have done it. You just have to invoke the web services operations from php. We have php sample code.talk to the sales representative about getting access to sample apps plus Yodlee SDK developer forum.
# 2 is not possible.
The Google Identity Toolkit is awesome. So clean and easy to set up! Trouble is, it forces you to use its UI, which isn't working for me. Is there anything else out there that will let the visitor click a GMAIL or YAHOO Mail icon to trigger an OpenID (or oAuth2) request, without hijacking the interface?
I've already implemented Facebook Logins in my site, which lets me customize the sign-in button however I want. For example, here's my current sign-in menu (with PHP/AJAX/MySQL site authentication for those who don't want to use their Facebook/etc. account to sign in):
Clicking FACEBOOK triggers the Facebook JS SDK for the login. Simple enough. I just want a GMAIL logo and YAHOO logo below it.
Any suggestions?
If you want to avoid the UI of a high level library, you're going to have to use a lower level library. In particular, you're going to need an OAuth 2 library. There's not that many of them (surprisingly), but your best bet is likely going to be the one authored by google: http://code.google.com/p/google-api-php-client/wiki/OAuth2
If you're looking for a solution that allows you to leverage all of the APIs for the major ID providers, you might want to test out Janrain Engage.
Here's a quick lowdown on our Engage API endpoints (specifically, auth_info), for social authentication:
http://developers.janrain.com/documentation/api/#Engage
You can have complete control over the UI and display just Google and Yahoo.
http://janrain.com/products/engage/ (for marketing-ese)
I'm looking for a simple PHP class that supports Twitter and Facebook authentication. I don't need to access their respective API's or post anything. just simple, painless, basic auth.
Maybe janrain coud fit you if you don't have enough traffic or you are able to pay some bucks on this
http://www.janrain.com
I'm developing a PHP application to retrieve the list of contacts from a GMail account. I'm looking for a solution which would enable the user of my application to provide the login and password to their Gmail account in my application (as opposed to getting redirected to Google) and then automatically do the retrieval. The retrieval process can be run in PHP or JavaScript (which would then feed the list of contacts back to PHP using Ajax).
Is it possible to do that? Which JavaScript API should I use for that? Can someone point me at the right chapter in Google Contacts Data API documentation?
This is really not advised - google provide OAuth for a reason - so that users won't have to give their credentials to 3'rd parties.
Check out http://code.google.com/apis/accounts/docs/OAuth.html
Speaking only for my self (and all other developers I know), having to hand over my credentials to 3'rd parties is a real no-no.
It would be best to use the Google Contacts Data API using JavaScript for your case.
I haven't tested it myself but it looks nice: http://gmail-lite.sourceforge.net/wordpress/
//edit:
You probably should use: http://code.google.com/apis/contacts/