Auth0 Home Blog Docs

Is it possible to add allowed web origins with the management API



We are using Heroku review apps.

@matias is it possible to configure “Allowed Web Origins” for a client via the Auth0 Management API v2?


A client can be created or updated with the Allowed Web Origins, from the Management API v2. To create a client, you can use the [POST /api/v2/clients] (!/Clients/post_clients) endpoint and to update an existing client you can use [PATCH /api/v2/clients/{id}] (!/Clients/patch_clients_by_id). In either case, the Allowed Web Origins field of the client is filled in using: