That error message is most likely originating from the Two-Factor Authentication (2FA) module, based on some digging around in the codebase I just did.
Given that, my first troubleshooting step would be to disable the 2FA module (temporarily) and see if that allows onboarding to finish successfully.
If it does, then you can try again to enable 2FA and see if that works.
Great question. Here’s a video that hopefully helps to explain what I mean (My 10PM brain last night didn’t do the best job of explaining what I meant)
…and I am juuuust now putting together that you are doing the 2FA onboarding, not the general onboarding. Let me try that on my test site to see if I see what you are seeing. Hold please.
I just attempted on my test site to go through the onboarding steps for 2fa (once on camera after a different time off camera) and had no trouble, so I am not sure what might be causing your issues, but I’m keen to get to the bottom of it.
As this issue seems to be specific for your environment (2FA onboarding usually works fine) it may be a good idea to attempt an uninstall/reinstall of the SolSec plugin (if not already) to see whether that resolves the issue 😉
If the issue persists please confirm that the error occurs when clicking on the “Complete” button at the end of the 2FA onboarding process. Also provide us with the exact text displayed on that screen, which will tell us what exact 2FA providers have been configured for that user at that point in time in your env.