# 外部プラグインタイプのログインを許可する設定はありますか？

**URL:** https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004
**Category:** Support
**Created:** [2019 年 3 月 30 日午後 2:16 UTC](https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004 "2019-03-30T14:16:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![chagara](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@chagara](https://meta.discourse.org/u/chagara)
#### Post date: [2019 年 3 月 30 日午後 2:16 UTC](https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004/1 "2019-03-30T14:16:21Z")

</div>

I’m looking at the settings in the UI and trying to figure out the correct path. So basically this is what I’m trying to do:

`Allow Users to Log-in and only with discourse`  
` can't self register with the email option`  
'Account gets created when they log-in using discourse option`

basically only use external login or 3rd party.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2019 年 3 月 30 日午後 2:27 UTC](https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004/2 "2019-03-30T14:27:08Z")

</div>

> ⚠ this can potentially lock you out if you don’t already have your account associated with the external authentication provider. You’ve been warned.

You can disable the `enable local logins`, `enable local logins via email` option to allow only login from external providers.

---

<div class="post-metadata">

### Author: ![chagara](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@chagara](https://meta.discourse.org/u/chagara)
#### Post date: [2019 年 3 月 30 日午後 2:28 UTC](https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004/3 "2019-03-30T14:28:54Z")

</div>

ok cool then lets say external logins stop working then this can be enabled through the command line? or if I still have my session available from external logins I can enable it back? (just making sure :)).

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2019 年 3 月 30 日午後 2:29 UTC](https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004/4 "2019-03-30T14:29:51Z")

</div>

> [@chagara](#):
>
> this can be enabled through the command line?

Yes it can be but that’s extra painful steps.

> [@chagara](#):
>
> if I still have my session available from external logins I can enable it back?

Yes definitely.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2019 年 3 月 30 日午後 6:58 UTC](https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004/5 "2019-03-30T18:58:49Z")

</div>

You can go to `/users/admin-login` to login with email if you get locked out.

---

<div class="post-metadata">

### Author: ![chagara](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@chagara](https://meta.discourse.org/u/chagara)
#### Post date: [2019 年 3 月 30 日午後 7:11 UTC](https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004/6 "2019-03-30T19:11:10Z")

</div>

thank you for that information. I’ll keep a note on it.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2019 年 4 月 29 日午後 7:11 UTC](https://meta.discourse.org/t/is-there-a-way-to-allowed-logins-to-external-plugin-types-only/113004/7 "2019-04-29T19:11:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
