FIX: When using a custom authenticator URL, send request using GET

FIX: When using a custom authenticator URL, send request using GET

diff --git a/app/assets/javascripts/discourse/models/login-method.js.es6 b/app/assets/javascripts/discourse/models/login-method.js.es6
index e00bd96..0b12604 100644
--- a/app/assets/javascripts/discourse/models/login-method.js.es6
+++ b/app/assets/javascripts/discourse/models/login-method.js.es6
@@ -24,7 +24,11 @@ const LoginMethod = Ember.Object.extend({
     if (customLogin) {
       customLogin();
     } else {
-      let authUrl = this.custom_url || Discourse.getURL(`/auth/${name}`);
+      if (this.custom_url) {
+        window.location = this.custom_url;
+        return;
+      }
+      let authUrl = Discourse.getURL(`/auth/${name}`);
 
       if (reconnect) {
         authUrl += "?reconnect=true";

GitHub sha: 734a06dd