The user gambhir-makwana seeks help with three distinct tasks in their Discourse Rails application: adding custom fields to user registration, switching password encryption from PBKDF2 to MD5, and creating APIs to sync user creation with another application. JammyDodger suggests splitting these into separate topics. pfaffman notes that custom fields can be managed via the UI, while password encryption changes are complex and may require deep Rails and Discourse plugin knowledge, referencing the relevant code in user.rb. For API integration, webhooks are recommended. JammyDodger closes the thread to prevent further replies.
So go ahead and add the user custom fields through the UX?
That’s going to be a challenge since you don’t seem familiar with Rails or Discourse plugins. It does appear that there are hooks for alternate encryption methods, but I’m not quite sure just how easy it’lll be to add another and override the default on in a plugin without some pretty good insight into how Rails and Discourse allow for such overrides.
You and probably do that with webhooks through the UX.