Is there a Oauth Autentication with jQuery example?

Highlighted
Shopify Partner
30 0 8

Claes, 

It's not a very good idea to post your client id and secret on the forum. I suggest you edit those out.

0 Likes
Highlighted
Shopify Expert
9812 92 1576

Are you sure you want to do the Authentication client side? This will expose your keys. 

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
Shopify Partner
91 0 2

Jason, I thought that I had to have all the files on my server? What am I missing?

0 Likes
Highlighted
Shopify Expert
9812 92 1576

Yep, that's one thing you need to do. 

My concern is with using JavaScript for Authentication rather than something server side. JavaScript runs within the users browser so you'd be giving them access to the keys to do the Authentication (and also makes token storage questionable).

My question was and still is, do you want this?

[edit] a quick google search return this:
http://stackoverflow.com/questions/11431765/retrieving-temporary-access-token-using-jquery-oauth

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
Shopify Partner
91 0 2

Thanks Jason
I don´t know how else to do it, I´m afraid. 
I have never used, Ruby or any off the other ones.
Would you be interested to help my to set it up the right way if I pay you for a couple off hours off email support?
Just so I can get going.
Thanks.

0 Likes
Highlighted
Shopify Expert
9812 92 1576

Ruby makes the most sense but if that's totally foreign to you there are other API adapters that may help kick start you. I'm happy to give the occasional few minutes here and there when I take a nano break, but between client jobs and tinkering with my dashboard tool I'm busy enough this week. 

Read through the docs, check github and search stackoverflow. Between those three you should be up and running in know time, and would have learnt a few crazy things along the way.

You can always post here if you are super stuck.

 

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes