# 邀请制和 Auth 跳过创建确认设置，在使用时显示注册弹出窗口

**URL:** https://meta.discourse.org/t/invite-only-and-auth-skip-create-confirm-settings-show-signup-popup-when-using-together/380885
**Category:** Bug
**Tags:** oauth2
**Created:** [2025年八月29日 10:14 UTC](https://meta.discourse.org/t/invite-only-and-auth-skip-create-confirm-settings-show-signup-popup-when-using-together/380885 "2025-08-29T10:14:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [2025年八月29日 10:14 UTC](https://meta.discourse.org/t/invite-only-and-auth-skip-create-confirm-settings-show-signup-popup-when-using-together/380885/1 "2025-08-29T10:14:21Z")

</div>

你好 [@team](https://meta.discourse.org/groups/team) ，

我偶然发现了一个关于 OAuth 和 `Invite Only`（仅限邀请）与 `Auth skip create confirm`（跳过创建确认）设置一起使用的 🐛 小 bug。

重现步骤：

- `Invite only`（仅限邀请）：启用。
- `Login required`（需要登录）：启用。
- `Must approve users`（必须批准用户）：启用。
- `Enable local logins`（启用本地登录）和 `Enable local logins via email`（通过电子邮件启用本地登录）：禁用。
- `Allow new registrations`（允许新注册）：启用。
- 配置 `OAuth2 enabled`（启用 OAuth2）以及其余的 OAuth 设置（基本上，只允许通过 OAuth 进行身份验证）。
- `Auth skip create confirm`（跳过创建确认）：启用。

管理员生成邀请，被邀请用户访问邀请链接。会出现注册弹出窗口（见下图）。

![image](https://sea3.discourse-cdn.com/meta/images/transparent.png)

**预期行为**

当同时使用 `Invite Only`（仅限邀请）和 `Auth skip create confirm`（跳过创建确认）时，不应出现注册弹出窗口。

禁用 `Invite Only`（仅限邀请）（并保留 `Auth skip create create confirm`（跳过创建确认））会使弹出窗口消失，符合预期。

祝好，

Ismael
