Allow_user_api_key这个设置在哪开启

allow_user_api_key这个设置在哪开启

您能确认一下设置名称吗?我找到的两个最接近的设置是 allow_user_api_key_scopesallow_user_api_key_client_scopes,其中第二个设置是一个 隐藏站点设置

Hello everyone,

I’m developing a mobile app that needs to authenticate users via the Discourse User API Key flow. I’m stuck at the very beginning because I cannot find the master switch for this feature.

I’ve already configured the allowed_user_api_auth_redirects setting. However, the allow_user_api_key site setting is completely missing from my admin panel.

· What I did: I checked the “Show ignored settings” flag and searched for “allow_user_api_key”, but nothing came up.
· My question: How can I enable the User API Key feature on my self-hosted Discourse site? Is it possible that this setting has been deprecated or moved? If so, what is the correct way to enable it?

Thank you for your help!

I’m trying to set up the user api key specification for my mobile app. The document says I need to enable the allow_user_api_key site setting, but I’m unable to find it in the admin panel.

I’ve already done the following:

  1. Checked the “Show ignored settings” checkbox.
  2. Searched for “allow_user_api_key”, “user_api_key”, and “api_key”.

Could you please let me know if there’s any other way to enable this feature? Is it possible that this setting has been renamed recently?

My Discourse Version: [Please fill in your Discourse version here, e.g., v3.1.0

有没有

你好,请问您指的是哪份文档?谢谢。

该设置通常位于服务器或应用配置中,而非用户界面中。请检查您平台的配置文件或管理设置,找到 API 或安全选项的定义位置。如果您不确定,请告诉我您使用的系统,我可以指引您找到确切位置。

谢谢,我的系统Ubuntu24.4,这个系统

您能分享一下您提到的文档吗?谢谢。

什么文档,我说的文档是,在社区看见的一些帖子

明白了。你见过这个吗?

谢谢,你已经解决了我的疑惑,感谢感谢。非常的感谢