diff --git a/app/assets/javascripts/discourse/app/controllers/invites-show.js b/app/assets/javascripts/discourse/app/controllers/invites-show.js index 3890643ee69..523aa47ca51 100644 --- a/app/assets/javascripts/discourse/app/controllers/invites-show.js +++ b/app/assets/javascripts/discourse/app/controllers/invites-show.js @@ -233,7 +233,9 @@ export default Controller.extend( externalLogin(provider) { provider.doLogin({ - origin: window.location.href, + params: { + origin: window.location.href, + }, }); }, },