auth0-deploy-cli icon indicating copy to clipboard operation
auth0-deploy-cli copied to clipboard

Support prompt partial import/export

Open kirkokada opened this issue 1 year ago • 0 comments

Checklist

Describe the problem you'd like to have solved

I would greatly appreciate if the deploy cli supported the import/export of prompt partials as detailed in the management api:

https://auth0.com/docs/api/management/v2/prompts/put-partials https://auth0.com/docs/api/management/v2/prompts/get-partials

Describe the ideal solution

the ideal for e.g. directory format would be something like:

# dir structure
prompts/
  partials/
    sign-in/
      form-content-end.html
    partials.json

# prompts.json
{
  "sign-in": {
    "form-content-end": promts/partials/sign-in/form-content-end.html
  }
}

Alternatives and current workarounds

The current workaround is to use the management api directly.

Additional context

No response

kirkokada avatar Jun 27 '24 00:06 kirkokada