I’m using the Discourse SSO setp in my Bubble app (yardpro.com) and running into an error when new users try to log in for the first time. Discourse fails to create the account with this error:
ActiveRecord::RecordInvalid (Validation failed: Name can't be blank)
The verbose SSO log on the Discourse side shows the payload being received, and the name field is completely absent from what Bubble is sending over. According to the official Discourse DiscourseConnect documentation, name needs to be included in the SSO payload for user creation to succeed.
Here’s what the Discourse log shows is being sent:
add_groups: admin: avatar_force_update: avatar_url: bio:
card_background_url: confirmed_2fa: email: external_id: ...
Notice name: is missing entirely.
Questions:
- Is there a way to pass the
namefield through the current plugin settings that I’m missing? - If not, is this a known bug and is there a fix or updated version coming?
- Is there an alternative approach (e.g. a backend workflow) that would let me manually construct the SSO payload and include the
namefield?
Any help appreciated — users are completely blocked from logging in right now.
Thanks!
