From 239980e5c27c6f632fe180358500ec5044628fe1 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 27 May 2017 00:30:48 +0000 Subject: [PATCH] use API url :) --- oauth3.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth3.core.js b/oauth3.core.js index ea00f3d..a9436e0 100644 --- a/oauth3.core.js +++ b/oauth3.core.js @@ -1184,7 +1184,7 @@ opts.api = api; opts.session = OAUTH3.hooks.session._getCached(this._providerUri); - return OAUTH3.api(this._providerUri, opts); + return OAUTH3.api(this._providerDirectives.api, opts); } }; result.authenticate = result.login;