# 新用户点击分类链接看到“此论坛仅限邀请”且无法通过 OAuth2 登录

**URL:** <https://meta.discourse.org/t/new-users-clicking-category-link-see-access-to-this-forum-is-by-invite-only-and-cannot-log-in-via-oauth2/389937>\
**Category:** SSO\
**Tags:** oauth2, invites\
**Created:** [2025年十一月29日 08:03 UTC](https://meta.discourse.org/t/new-users-clicking-category-link-see-access-to-this-forum-is-by-invite-only-and-cannot-log-in-via-oauth2/389937 "2025-11-29T08:03:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jahan\_gagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jahan_gagan/32/501948_2.png) [@jahan\_gagan](https://meta.discourse.org/u/jahan_gagan)\
**Post date:** [2025年十二月1日 07:02 UTC](https://meta.discourse.org/t/new-users-clicking-category-link-see-access-to-this-forum-is-by-invite-only-and-cannot-log-in-via-oauth2/389937/4 "2025-12-01T07:02:28Z")

</div>

请查看此处的讨论：

> [@Invitations should be compatible with SSO](https://meta.discourse.org/t/invitations-should-be-compatible-with-sso/20813/29):
>
> Allowing groups to be specified via SSO is fine, my pref would be for 2 keys groups: [group1,group2,group3] remove\_groups: [remove1] That should allow you full fidelity here, should be fairly straightforward to add. We can slot it for 1.7

并检查您的日志中“添加群组”、“群组”和“移除群组”字段中的值？

---

_[View the full topic](https://meta.discourse.org/t/new-users-clicking-category-link-see-access-to-this-forum-is-by-invite-only-and-cannot-log-in-via-oauth2/389937)._
