Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Is it possible to connect with Github using oAuth in JAVASCRIPT/AJAX/JQuery

I have came across with its implementation in php and node.js, but i need to have it in js. Is it possible. Any links?

As per http://developer.github.com/v3/oauth/ , i'm not able to implement it in js.

Here is the link for implementation in php, please help me out to implement the same in js/ajax/jquery.

Thanks

share|improve this question
1  
Some of the javascript libraries might support it developer.github.com/v3/libraries/#javascript –  sigmavirus24 Jun 29 '13 at 14:22
1  
If you are thinking of a pure client side JavaScript solution (within a Web browser exclusively) - no, it's not possible. You have to have a server side to do that. –  Ivan Zuzak Jun 29 '13 at 15:18
    
you mean node.js, for js –  softvar Jun 29 '13 at 18:40
    
What have you actually tried? –  sigmavirus24 Jul 1 '13 at 1:58
    
Finally i Used xhr AJAX call by giving params username and password in header of that request. –  softvar Oct 23 '13 at 21:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.