# OAUTH2 basic - a nightmare :-(

**URL:** https://meta.discourse.org/t/oauth2-basic-a-nightmare/338662
**Category:** SSO
**Tags:** oauth2
**Created:** [November 27, 2024, 5:41am UTC](https://meta.discourse.org/t/oauth2-basic-a-nightmare/338662 "2024-11-27T05:41:00Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [December 3, 2024, 2:18pm UTC](https://meta.discourse.org/t/oauth2-basic-a-nightmare/338662/14 "2024-12-03T14:18:45Z")

</div>

> [@Wurzelseppi](#):
>
> ```plaintext
> ActiveRecord::NotNullViolation (PG::NotNullViolation: ERROR: null value in column "provider_uid" of relation "user_associated_accounts" violates not-null constraint
> 
> ```

Is `oauth2 json user id path` filled?

Do make sure these values are set: [https://meta.discourse.org/t/configure-sign-up-and-log-in-with-auth0-using-the-oauth2-basic-plugin/64633#configure-discourse-3](https://meta.discourse.org/t/configure-sign-up-and-log-in-with-auth0-using-the-oauth2-basic-plugin/64633#configure-discourse-3).

---

_[View the full topic](https://meta.discourse.org/t/oauth2-basic-a-nightmare/338662)._
