Where is the Allow_user_api_key setting enabled?

Where can I enable the allow_user_api_key setting?

Can you confirm the setting name? The 2 closest ones I could find is allow_user_api_key_scopes and allow_user_api_key_client_scopes, and the 2nd setting is a hidden site setting.

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

Is there

Hi there, could you share what document you are referring to? Thanks.

That setting is generally set in the server/app config, not in the UI, check your platform’s config file or admin settings where API/security options are defined. If you’re not sure, tell me what system you’re on and I can direct you to the exact spot

Thank you. My system is Ubuntu 24.4, this system.