From 84f09636c9b475ea67a4a169284bd6c75430be43 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sun, 25 Jun 2017 15:32:38 -0700 Subject: [PATCH] tweak auth for bb10 to use a valid redirect URL, issue #9 #21 --- src/pages/login/login.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/login/login.ts b/src/pages/login/login.ts index 7cb2c8b..d8f14ee 100644 --- a/src/pages/login/login.ts +++ b/src/pages/login/login.ts @@ -38,6 +38,12 @@ export class LoginPage { appScope: scope, 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 { this.oauth = new OauthBrowser(); this.pnutProvider = new PnutAuth({