# Créer un utilisateur manuel avec les utilisateurs locaux désactivés et l'utilisation d'OAuth2

**URL:** https://meta.discourse.org/t/create-manual-user-with-local-users-turned-off-and-using-oauth2/97056
**Category:** Support
**Created:** [Septembre 12, 2018, 4:30 UTC](https://meta.discourse.org/t/create-manual-user-with-local-users-turned-off-and-using-oauth2/97056 "2018-09-12T16:30:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jerdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerdog/32/122843_2.png) [@jerdog](https://meta.discourse.org/u/jerdog)
#### Post date: [Septembre 12, 2018, 4:30 UTC](https://meta.discourse.org/t/create-manual-user-with-local-users-turned-off-and-using-oauth2/97056/1 "2018-09-12T16:30:12Z")

</div>

We are setup to not allow local users, and only authenticate via OAuth2. I would like to create manual users for use in API access but can’t find a way to do so via search.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [Septembre 12, 2018, 6:09 UTC](https://meta.discourse.org/t/create-manual-user-with-local-users-turned-off-and-using-oauth2/97056/2 "2018-09-12T18:09:19Z")

</div>

I’m pretty sure that you’ll need to create them on the OAuth2 server, **but** you might be able to enable local users, create the users, and then disable local users. I think I’d give that a shot.

---

<div class="post-metadata">

### Author: ![jerdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerdog/32/122843_2.png) [@jerdog](https://meta.discourse.org/u/jerdog)
#### Post date: [Septembre 12, 2018, 8:24 UTC](https://meta.discourse.org/t/create-manual-user-with-local-users-turned-off-and-using-oauth2/97056/3 "2018-09-12T20:24:04Z")

</div>

Yeah I guess that is as good of a process as any. Thanks mate

---

<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: [Octobre 12, 2018, 8:25 UTC](https://meta.discourse.org/t/create-manual-user-with-local-users-turned-off-and-using-oauth2/97056/4 "2018-10-12T20:25:51Z")

</div>

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