# 认证提供商错误

**URL:** https://meta.discourse.org/t/auth-providers-error/94072
**Category:** Bug
**Created:** [2018年八月7日 00:43 UTC](https://meta.discourse.org/t/auth-providers-error/94072 "2018-08-07T00:43:55Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [2018年八月7日 00:43 UTC](https://meta.discourse.org/t/auth-providers-error/94072/1 "2018-08-07T00:43:55Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [2018年八月7日 00:49 UTC](https://meta.discourse.org/t/auth-providers-error/94072/2 "2018-08-07T00:49:52Z")

</div>

Have you tried in [safe mode](https://meta.discourse.org/t/53504?silent=true), or at least with all third-party plugins disabled?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018年八月7日 00:51 UTC](https://meta.discourse.org/t/auth-providers-error/94072/3 "2018-08-07T00:51:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [2018年八月7日 00:54 UTC](https://meta.discourse.org/t/auth-providers-error/94072/4 "2018-08-07T00:54:32Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [2018年八月7日 00:56 UTC](https://meta.discourse.org/t/auth-providers-error/94072/5 "2018-08-07T00:56:45Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018年八月7日 01:01 UTC](https://meta.discourse.org/t/auth-providers-error/94072/6 "2018-08-07T01:01:30Z")

</div>

> [@Genyus](#):
>
> but I’m assuming you mean a rebuild via the launcher command in the shell?

Yes that is what I mean.

---

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [2018年八月7日 01:40 UTC](https://meta.discourse.org/t/auth-providers-error/94072/7 "2018-08-07T01:40:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2018年八月7日 09:00 UTC](https://meta.discourse.org/t/auth-providers-error/94072/8 "2018-08-07T09:00:10Z")

</div>

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](https://github.com/discourse/discourse/commit/aa9a9a5a72595cf25252fc70e9c7815c1507823c)

---

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [2018年八月7日 09:33 UTC](https://meta.discourse.org/t/auth-providers-error/94072/9 "2018-08-07T09:33:15Z")

</div>

Thanks for the rapid fix!

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2018年八月8日 17:00 UTC](https://meta.discourse.org/t/auth-providers-error/94072/10 "2018-08-08T17:00:03Z")

</div>

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