惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
V
V2EX
Jina AI
Jina AI
爱范儿
爱范儿
M
MIT News - Artificial intelligence
量子位
L
LangChain Blog
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
腾讯CDC
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss

Discourse Meta - Latest posts

Horizon: High Context Topic Cards I'd like to ask what this file /var/www/discourse/vendor/data/RT_sRGB.icm is used for? Discourse to Markdown Plugin How to verify a subdomain (mysite.discourse.group) in Google Search Console? Reader Mode Publishing WordPress gallery posts on Discourse Discourse User Feedback New user filter by custom field and contact Interact with discourse from Python? Why we can't type the assignee in the search of a post to assign - home screen app Redis Flushall Category-toggled one-touch move post Some sort of variable to eliminate duplicate text? Why did this plugin replacement fail? Add user to list modal often appears above the mobile viewport sceen Creating/Editing a post on mobile: let's discuss the 2026 Discourse experience Wp-discourse feature request - do not show comments with specific tag? Are there any good Chinese plugins? Discourse ID and 2FA Discourse MCP is here! Sample Forum to See Admin Features? I am unable to register for a free Discourse site Wikipedia Lookup Add text for /login (like js.create_account.disclaimer for /signup) How can i set disable Markdown & Default to Rich Text What's the background image size for the Welcome Banner? How do I enable Associated Accounts with 2FA? Hamburger toggle Support <span data-attribute> in the rich editor Cannot disable read-only mode on Free Plan
Setup DiscourseConnect - Official Single-Sign-On for Disc...
devaoc (Antoine Charette) · 2025-10-07 · via Discourse Meta - Latest posts

621

Is there no way to test adding Discourse connect on the Hobby plan? I want to test this out before paying… However, I don’t see the settings options for enabling Discourse connect.

Edit: I’ve asked the Discourse assistant this same question and it looks to be the case. Correct it if its wrong though because I’d rather not pay for this until I know that I need to.

pmusaraj (Penar Musaraj) 622

DiscourseConnect is available on the Pro plan. You can start a free trial on that plan and test it for free. (You will only be charged if you decide to start a paid subscription.)

adopilot (Admir Hodzic) 623

Is there any convention or rules how to encode user field names.

If my custom user fields are named as eg:

  • Šifra za kasu
  • Vaše radno mjesto

How I should format my payload Do i need to urlencode name or is enough to use snake case only

We plan to allow users to change their email address on our main site (the SSO provider). We would like to update their email in Discourse at the same time, without them having to go to their Discourse preferences, and without them having to validate their new email with Discourse. What is the best way to implement this?

I experimented with updating their email like below, but that just added a secondary Discourse email which was pending validation. I want to change their primary Discourse email with no validation. Validation is performed by the main site.

curl -X PUT "https://discourse.example.com/u/$TARGET_USERNAME/preferences/email.json" \
     -H "Api-Key: $DISCOURSE_API_KEY" \
     -H "Api-Username: $DISCOURSE_USERNAME" \
     -H "Content-Type: application/json" \
     -d '{"email": "new-address@example.com"}'

Moin 626

Did you enable the auth_overrides_email site setting?

Not sure how I overlooked that- I did see the overrides for avatar, name, and username. Thanks!

Some users are reporting when they log on with SSO, they get an error: “The change you wanted was rejected.”. I have auth_overrides_email set, as well as name, username, and avatar. I suspect the rejected change is for one of those, but I’m having a hard time finding useful info in the logs. I’ve looked at /logs- sometimes there is a “Primary email is already taken”, but I can’t find why Discourse is apparently trying to create a new user instead of authorizing the user with that email. I’ve also grepped in /var/discourse/shared/standalone/log/rails, but didn’t find anything enlightening.