A simple way to catch a lot of incorrect JID entries (per our years of JMP registration experience) is to confirm there is at least one ‘.’ in the JID. While it was running in prod for a while, it was added somewhat recently to the PHP version (see https://gitlab.com/ossguy/jmp-register/-/commit/ad6addfebe04841dd936540ed1abc7a2f41f8aed for details) but missed in the Ruby rewrite. So we should put it back.
A bit more investigation needed per my test just now.
Closing in favour of #63 for the newly discovered issue