homepage Welcome to WebmasterWorld Guest from 54.198.224.121
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Convince client oauth login does not take login credentials as input
jojy




msg:4562123
 2:52 pm on Apr 6, 2013 (gmt 0)

I am not a regular freelancer, I get freelance work for a change in my routine. I got a project a month ago to import contacts from social network/email providers using PHP. There have been two major changes in the requirements since I started work, which I happily accepted.

My client is a very nice person, he has a lead developer from China. The lead developer is not aware of OAuth protocol, I figured out after exchanging couple of emails. After completion of this project, the lead developer now insists me to grab contacts by taking email as input, such as $gmail->get_contacts_of('email@gmail.com');

As far as I know OAuth protocol, it does not work like that. The only possible solution is to scrape the service provider. This is illegal and unsafe and I am not willing to do it.

I tried to explain few times but probably I am failed. How would you explain if you run into this situation?

Thanks

 

mack




msg:4564639
 4:54 am on Apr 14, 2013 (gmt 0)

If the practice is indeed illegal i would also refuse to do so. Explain that you (and the client) would be accountable for your actions. Explain the benefits of your solution over the clients proposed solution.

Explain this is not a request, but a demand because you are not prepared to break the law,

Mack.

swa66




msg:4564695
 11:04 am on Apr 14, 2013 (gmt 0)

As far as I know OAuth protocol, it does not work like that.
Agree. With OAuth essentially the user logs in at the authentication provider and you do not get to see their credentials. All you know is that they logged in successfully.

But if you use the Google+ features you can access things like circles.

Some links to get you started:
https://developers.google.com/+/quickstart/php
https://developers.google.com/+/features/app-customization

Note that using it is dependent on accepting policies and terms:
https://developers.google.com/+/policies
https://developers.google.com/+/terms
Which do limit in what you are allowed to do.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved