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

[ULX-1596] feat: add custom prompts partials

Open joel-hamilton opened this issue 1 year ago • 1 comments

🔧 Changes

  • This PR adds support for importing/exporting custom prompts partials (feature docs). This feature allows customers to add HTML/Liquid to various extensibility points in the Login/Signup prompts.
  • We add a new prompts/partials.json config, and a partials directory for the actual partials (see example below)

Note:

  • we should consider implementing a flat structure and just naming our templates {prompt}/{screen}/{insertion_point}.liquid
  • otherwise, we'll need to add another layer of directory nesting to capture the screen (the one below is missing a subdirectory for login and for signup image

📚 References

ULX-1596

🔬 Testing

📝 Checklist

  • [ ] All new/changed/fixed functionality is covered by tests (or N/A)
  • [ ] I have added documentation for all new/changed functionality (or N/A)

joel-hamilton avatar Jan 31 '24 22:01 joel-hamilton

Hi! Is there any update on when this will be part of the CLI?

ifyoumakeit avatar Mar 15 '24 15:03 ifyoumakeit

Hi! Is there any update on when this will be part of the CLI?

+1

rickode1 avatar Jul 23 '24 15:07 rickode1

Hi @ifyoumakeit & @xkabr00,

We have already released this feature, so please take a look and test it.

@joel-hamilton, thank you for your contribution. I have created another PR and released it, so I will be closing this PR in reference to that.

developerkunal avatar Aug 09 '24 05:08 developerkunal