# Werkt het automatisch aanmaken van gebruikersaccounts met de officiële OIDC-plugin?

**URL:** https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276
**Category:** SSO
**Tags:** openid-connect
**Created:** [6 februari 2023 om 15:12 UTC](https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276 "2023-02-06T15:12:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fred.fred](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@fred.fred](https://meta.discourse.org/u/fred.fred)
#### Post date: [6 februari 2023 om 15:12 UTC](https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276/1 "2023-02-06T15:12:56Z")

</div>

Hi, does auto provision of user accounts work with the official OIDC plugin?

I am on the business trial and I want to hook up our Fusion Auth instance using OIDC.

I have the settings here - [Discourse OpenID Connect (OIDC) - #200](https://meta.discourse.org/t/discourse-openid-connect/103632/200)

except for enable\_local\_logins = true.

However, when I try to login from our SSO to Discourse trial with a fresh SSO account I get

Sorry, access to this forum is by invite only.

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/8/9/489315884a89101e4e36c059663a477d940e548c.png)

If I create the account beforehand in Discourse, then click through it all works.

Is there something I am missing to allow for provisioning where users click over? Or is this even possible?

Thanks.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [6 februari 2023 om 16:14 UTC](https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276/2 "2023-02-06T16:14:31Z")

</div>

Can you check if the `invite only` admin setting is selected? That may be preventing accounts from being created.

---

<div class="post-metadata">

### Author: ![fred.fred](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@fred.fred](https://meta.discourse.org/u/fred.fred)
#### Post date: [6 februari 2023 om 16:35 UTC](https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276/3 "2023-02-06T16:35:49Z")

</div>

@tobiaseigen

Yep, that was it after much clicking around. Can you update your post for that part?

Now, I am trying to figure out how to get rid of the sign up/login in the middle if the user is not setup on discourse yet.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [6 februari 2023 om 16:58 UTC](https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276/4 "2023-02-06T16:58:55Z")

</div>

Great! I would not rely on that reply. The first post which should have definitive instructions. If those are not clear enough/up to date we will have to work on that!

Glad you got it working. 🌻

---

<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: [17 april 2024 om 11:26 UTC](https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276/5 "2024-04-17T11:26:23Z")

</div>

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