Problem: New user registration failed because the onBeforeRegistration script contained a step assumed to apply only to OAuth registrations, although it was not actually OAuth-limited.\n\nSolution: Review customized registration hooks against the Common Hooks documentation. The default hook behavior may differ after the script is modified, so verify each step’s actual scope and conditions rather than relying on an outdated note.
Thread Attachments
Original Slack Thread
User UG7U0703A: Newly registering user is receiving this error, but as far as I can tell this originates in the Klai stack, and not from our helper or business file. Is something still off from security patches?
User UG7U0703A: Self resolved. The onBeforeRegistration script was failing in a weird way. There was a note that one step was OAuth only, but it was, in fast, NOT limited to OAuth.
User UBBJX2EHM: You mean that #$%^& bot actually got something right?
I think a recent change may ping it , will check
User UBBJX2EHM: Turns out this one is covered in the docs: <https://docs.klai.studio/reference/hooksoverview/commonoverview|Common Hooks> The default beaviour is the same, but if you have modifed the script hten it woudl change
