go-auth0 / auth0

ARCHIVED Go SDK for the Auth0 platform. This project is now being maintained at: https://github.com/auth0/go-auth0

Home Page:https://github.com/auth0/go-auth0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why Client.Create doesn't return the ID of the created client?

AdallomRoy opened this issue · comments

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...

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