# OIDC users not associating with existing Discourse users

**URL:** https://meta.discourse.org/t/oidc-users-not-associating-with-existing-discourse-users/383894
**Category:** Self-hosting
**Tags:** openid-connect
**Created:** [September 24, 2025, 3:25pm UTC](https://meta.discourse.org/t/oidc-users-not-associating-with-existing-discourse-users/383894 "2025-09-24T15:25:45Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Mike73](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@Mike73](https://meta.discourse.org/u/Mike73)
#### Post date: [April 29, 2026, 9:01pm UTC](https://meta.discourse.org/t/oidc-users-not-associating-with-existing-discourse-users/383894/4 "2026-04-29T21:01:04Z")

</div>

Hey,

I’m experiencing the same issue here. I have a Nextcloud instance set up as an OIDC provider, though that’s probably not relevant to the problem.

I can log in using my Nextcloud credentials. As described above, I’m then prompted to either register a new account or log in with an existing one. However, no link is established with the existing account via the email address.

If I select “Register,” I’m immediately redirected back to the homepage in a logged-out state, and I have to log in again. No error message is displayed.

That’s quite strange.

Everything works fine when I log in with an OIDC account that doesn’t have a matching Discourse account. In that case, a new account is created immediately, and the linked account also appears in the user settings.

Perhaps someone else has an idea about what I might be doing wrong, or it turns out there’s a bug after all.

Best regards,

Mike

---

_[View the full topic](https://meta.discourse.org/t/oidc-users-not-associating-with-existing-discourse-users/383894)._
