Skip to content

Instantly share code, notes, and snippets.

@idej
idej / yahooLogin.js
Created March 24, 2015 19:52
getting yahoo oauth 2.0 tokens in your ionic application
//should install cordova InAppBrowser plugin
//http://docs.phonegap.com/en/edge/cordova_inappbrowser_inappbrowser.md.html
//yahoo configs
//YAHOO.clientId, clientSecret - your yahoo application values - https://developer.yahoo.com/
//YAHOO.redirectUri - your redirect uri (should be with domain that set in yahoo app configs)
var YAHOO = {
clientId: 'xxxxxxx',
clientSecret: 'xxxxxxx',
redirectUrl: 'your redirect url',