tweak auth for bb10 to use a valid redirect URL, issue #9 #21

This commit is contained in:
Morgan McMillian 2017-06-25 15:32:38 -07:00
parent ee532730d6
commit 84f09636c9

View file

@ -38,6 +38,12 @@ export class LoginPage {
appScope: scope, appScope: scope,
redirectUri: 'http://localhost/callback' redirectUri: 'http://localhost/callback'
}); });
} else if (this.device.platform === "blackberry10") {
this.oauth = new OauthBrowser();
this.pnutProvider = new PnutAuth({
appScope: scope,
redirectUri: 'https://zoidberg.monkeystew.net/'
});
} else { } else {
this.oauth = new OauthBrowser(); this.oauth = new OauthBrowser();
this.pnutProvider = new PnutAuth({ this.pnutProvider = new PnutAuth({