skip to content
Alvin Lucillo

Auth0 update client

/ 1 min read

💻 Tech

If you’re using auth0/go-auth0 to update an auth0 client, chances are you encountered this error: Additional properties not allowed: signing_keys,client_id. You might have called the api.Client.Update(ctx, id, client) after changing some values of the client object. I couldn’t find any information online about that error, but what I understaood was that those fields are supposed to be not provided, so what I did was:

	client.ClientID = nil
	client.SigningKeys = nil

And voila, I can update the client.