oauth-io / oauth-phonegap

OAuth.io plugin for Apache Cordova/PhoneGap
195 stars 69 forks source link

How can I use my custom oauthd server for my phonegap app? #23

Closed eswarreddy43 closed 10 years ago

eswarreddy43 commented 10 years ago

I have used https://github.com/oauth-io/oauth-phonegap plugin for my phonegap app for facebook and twitter login. But now I have my own custom oauthd server. So how can I link my app to oauthd server.

Please suggest.

thyb commented 10 years ago

We've developed the method setOAuthdURL() in all SDK to switch easily between OAuth.io and oauthd

OAuth.setOAuthdURL('http://localhost:1234')

cf: https://github.com/oauth-io/oauth-phonegap/blob/master/www/dist/oauth.js#L127