Manual Register .NET CORE 2.0

Sorry, I must be misunderstanding the terminology you’re using. I think I was able to get what I needed by adding the following code. I was confused about the “Connection” attribute under signupuserRequest that I think is name d"Realm" under the login attributes.

Anyway, in case anyone wants to manually register a user using .NET CORE, I believe this works:

   [HttpPost]
        public async Task<IActionResult> Register(LoginViewModel vm, string returnUrl = null)
        {
            if (ModelState.IsValid)
            {
                try
                {
                    AuthenticationApiClient client = new AuthenticationApiClient(new Uri($"https://{_configuration"Auth0:Domain"]}/"));

                    var signupUserRequest = new SignupUserRequest
                    {
                        ClientId = _configuration"Auth0:ClientId"],
                        Email = vm.EmailAddress,
                        Password = vm.Password,
                        Connection = "Username-Password-Authentication",
                    };

                    var response = await client.SignupUserAsync(signupUserRequest);

                    return RedirectToLocal(returnUrl);

                }
                catch (Exception e)
                {
                    ModelState.AddModelError("", e.Message);
                }
            }

            return View(vm);
        }