Auth providers error

After rebuilding, my instance (running 2.1.0.beta3+159) has lost all the social login options (I have Google, GitHub and LinkedIn enabled). This is the output from my browser console when I attempt to log in:

undefined is not an object (evaluating 'Discourse.Site.currentProp("auth_providers").forEach')
i@https://community.froware.com/assets/application-f72268978e3187b12c0547406689ecfbeac253cc81ede1ec08bd166ae5bd0dc0.js:1:694510
_autoLogin@https://community.froware.com/assets/application-f72268978e3187b12c0547406689ecfbeac253cc81ede1ec08bd166ae5bd0dc0.js:1:1784915
handleShowLogin@https://community.froware.com/assets/application-f72268978e3187b12c0547406689ecfbeac253cc81ede1ec08bd166ae5bd0dc0.js:1:1784549
https://community.froware.com/assets/application-f72268978e3187b12c0547406689ecfbeac253cc81ede1ec08bd166ae5bd0dc0.js:1:1780995
b@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:68258
p@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:200523
trigger@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:222018
send@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:74158
send@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:99745
triggerAction@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:118266
sendAction@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:145536
click@https://community.froware.com/assets/application-f72268978e3187b12c0547406689ecfbeac253cc81ede1ec08bd166ae5bd0dc0.js:1:807379
n@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:141634
run@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:1:213863
https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:152627
dispatch@https://community.froware.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:1:50546

Any thoughts on potential causes and fixes?

2 Likes

Have you tried in safe mode, or at least with all third-party plugins disabled?

I would also recommend a console rebuild in case somehow assets did not update right .

When I try navigate to /safe-mode, it just redirects to /login (this is currently a private instance). I’ll try disabling the third-party plugins.

Forgive me, as I’m still learning some of the Discource vocabulary, but I’m assuming you mean a rebuild via the launcher command in the shell? I’m not actually sure what the alternative rebuild method would be. But I’ll try this also.

Yes that is what I mean.

2 Likes

I’ve disabled all third-party plugins and rebuilt again, but still getting the same error

1 Like

Hi Gary - this was indeed a bug, thanks for reporting. It should now be fixed, so please update to the latest version.

https://github.com/discourse/discourse/commit/aa9a9a5a72595cf25252fc70e9c7815c1507823c

7 Likes

Thanks for the rapid fix!

3 Likes

This topic was automatically closed after 32 hours. New replies are no longer allowed.