diff --git a/lib/EntityManager.js b/lib/EntityManager.js
index <HASH>..<HASH> 100644
--- a/lib/EntityManager.js
+++ b/lib/EntityManager.js
@@ -932,7 +932,7 @@ class EntityManager extends util.Lockable {
     let msg;
     if (Message[provider + 'OAuth']) {
       if(opt.path) {
-        msg = new Message[provider + 'OAuth'](clientID, opt.scope, JSON.stringify(opt.state), opt.path);
+        msg = new Message[provider + 'OAuth'](clientID, opt.scope, JSON.stringify(opt.state), '_issuerurl', opt.path);
       }
       else {
         msg = new Message[provider + 'OAuth'](clientID, opt.scope, JSON.stringify(opt.state));
diff --git a/lib/connector/Message.js b/lib/connector/Message.js
index <HASH>..<HASH> 100644
--- a/lib/connector/Message.js
+++ b/lib/connector/Message.js
@@ -89,8 +89,8 @@ class Message {
     let index = 0;
     let path = this.spec.path;
     if (Object(path) instanceof Array) {
-      if (args.length === 4 && !args[3].isEmpty) {
-        path = args[3];
+      if (args.length === 5 && args[3] === '_issuerurl') {
+        path = args[4];
       } else {
         path = this.spec.path[0];
       }
fix (Cannot read property 'isEmpty' of undefined)