# Internal Server Error While Approving New Users

**URL:** https://meta.discourse.org/t/internal-server-error-while-approving-new-users/403296
**Category:** Support
**Created:** [May 19, 2026, 8:58am UTC](https://meta.discourse.org/t/internal-server-error-while-approving-new-users/403296 "2026-05-19T08:58:25Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Soumya\_Ranjan\_Mishra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/soumya_ranjan_mishra/32/514662_2.png) [@Soumya\_Ranjan\_Mishra](https://meta.discourse.org/u/Soumya_Ranjan_Mishra)
#### Post date: [May 19, 2026, 8:58am UTC](https://meta.discourse.org/t/internal-server-error-while-approving-new-users/403296/1 "2026-05-19T08:58:25Z")

</div>

Hi Meta Team,

We are facing an issue with user approvals in our Discourse instance.

When a new user logs in, they correctly receive the message:

> “Your account has not been approved by a staff member yet.”

However, when a staff member/admin tries to approve the pending user, Discourse shows an **“Internal Server Error”** popup and the approval fails.

Authentication is configured using OAuth2.

Could you please help us understand:

- What could cause this issue?

- Are there any known issues with user approval + OAuth2 setup?

- Which logs/settings should we check for troubleshooting?

Screenshots attached for reference.

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/3/e/13e9bc403f3a68d254877a059d14875100822735.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/b/a/fba1f81ef1bdf9af054e78e8d1313c2aa39118d7.png)

---

_[View the full topic](https://meta.discourse.org/t/internal-server-error-while-approving-new-users/403296)._
