I am using the new API call to get users by email:
var scopes = new
{
users = new
{
actions = new] { "read" }
},
users_app_metadata = new
{
actions = new] { "read" }
}
};
var client = GetClient(scopes);
var users = await client.Users.GetUsersByEmailAsync(email);
I get the following error: Additional properties not allowed
{Auth0.Core.Exceptions.ApiException:
Query validation error: 'Additional
properties not allowed: '. at
Auth0.Core.Http.ApiConnection.d__15.MoveNext()
in
C:\Development\auth0\auth0.net\src\Auth0.Core\Http\ApiConnection.cs:line
Please let me know what I am doing wrong, are the properties referring to scopes?