Why Client.Create doesn't return the ID of the created client?
AdallomRoy opened this issue · comments
Roy Reznik commented
Seems like it is returned from the API:
https://auth0.com/docs/api/management/v2#!/Clients/post_clients
Currently when you create a new client you need to search for it afterwards if you want to get its id...
Alex Kalyvitis commented
Please take a look at the examples. The client is passed by reference and generated fields become available upon creation.
https://godoc.org/gopkg.in/auth0.v3/management#example-ClientManager-Create