It is a workaround, and we also have this button on “/admin/config/login-and-authentication/discourse-id” to do the same:
I’m on the team that works on Discourse ID, so I’ll confirm how it works and check if we can make it clearer.