Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-28-2012, 02:10 AM   PM User | #1
fruitwerks
New Coder

 
Join Date: Aug 2007
Posts: 35
Thanks: 3
Thanked 0 Times in 0 Posts
fruitwerks is an unknown quantity at this point
Migrating Application to Oauth

Hi All - I have a CRM I developed a while back. To function, it requires a list of google contacts. I was using authsub, but it has been discontinued.

I am a bit confused as to what API and methods I should be using for Oauth. There appears to be no Contacts API for gdata v3 and the current API says it is depreciated as well!

At present I am able to get the access token through javascript alone, but when I need to get the feed, I run into the CORS issue. So I wrote a proxy in php to get around that, when I use that I get a 401 from google.

When I compare the request I make to the request supposedly made by the Oauth playground, they are identical.

I think at this point I need to step back and consider other methods. I am seeking advice on how this should be done. I do not feel it is relevant, but I am using EXT JS 3.3 for the rest of the application.

I see no reason why this can't be done client-side. For now I only need read only access anyway. I the future I will need to create calendar events as well if that should be considered.

Thanks
fruitwerks is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:56 AM.


Advertisement
Log in to turn off these ads.