# 在链接到私有话题时触发通过 OIDC 的自动认证？

**URL:** <https://meta.discourse.org/t/triggering-automatic-authentication-via-oidc-when-linking-to-private-topics/364411>\
**Category:** SSO\
**Tags:** sso, openid-connect\
**Created:** [2025年五月1日 18:08 UTC](https://meta.discourse.org/t/triggering-automatic-authentication-via-oidc-when-linking-to-private-topics/364411 "2025-05-01T18:08:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tyler.lamparter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyler.lamparter/32/485862_2.png) [@tyler.lamparter](https://meta.discourse.org/u/tyler.lamparter)\
**Post date:** [2025年五月1日 18:08 UTC](https://meta.discourse.org/t/triggering-automatic-authentication-via-oidc-when-linking-to-private-topics/364411/1 "2025-05-01T18:08:55Z")

</div>

我正在尝试实现此线程中指定的、但使用 OIDC 的功能。此线程似乎仅与 [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) 相关，当我尝试为我们的 OIDC 配置执行相同操作时，它不起作用。有人有什么其他建议可以实现此功能，或者这是否需要对 OIDC 插件进行一些增强？

> [@Triggering automatic authentication via SSO when linking to private topics?](https://meta.discourse.org/t/triggering-automatic-authentication-via-sso-when-linking-to-private-topics/106913):
>
> We are using our own application as the SSO provider to Discourse, and we’re having an issue when linking users to private topics in our Discourse forum from our application, in that authentication is only triggered when clicking the ‘Login’ button. We use our own system as the SSO provider to Discourse. We have a mixture of public and private pages on our Discourse, so we don’t have login\_required set. If a user authenticates in to our system, and we link them to our Discourse root url, they …

---

_[View the full topic](https://meta.discourse.org/t/triggering-automatic-authentication-via-oidc-when-linking-to-private-topics/364411)._
