Hey!
Thank’s for answering
Tested code related to user_domain, it passes perfectly.
user_domain
Could it be some issues with ManagementClient, because I was struggling to find values for it.
ManagementClient
Because the domain, client id and secret were used from SPA app.