|
1 | 1 | # Nice Identity and Access Management (IdAM) Hosted Pages
|
2 | 2 |
|
3 | 3 | > Contains the login/register/password reset etc pages deployed to Auth0.
|
| 4 | +> Also contains the email templates users recieve to verify their email address, to reset their password, if their account has been blocked, and if their account has been compromised. |
4 | 5 | > Also blank templates for the configuration of the Auth0 tenants. The actual configuration values are inserted dynamically on deployment via Octopus deploy.
|
5 | 6 |
|
6 | 7 | <details>
|
|
15 | 16 | </details>
|
16 | 17 |
|
17 | 18 | ## What is it?
|
18 |
| -Overview |
| 19 | + |
| 20 | +### Pages |
19 | 21 |
|
20 | 22 | This repo contains a react app, created using create-react-app. It's located in the folder: /custom-pages/universal-login
|
21 | 23 |
|
22 | 24 | That react app, builds a login page, password reset page and error page, to the location /custom-pages/pages
|
23 | 25 |
|
24 |
| -The whole custom-pages directory is then deployed to the Auth0 tenant. |
| 26 | +The whole custom-pages directory is then deployed to the Auth0 tenant. |
| 27 | + |
| 28 | +### Emails |
| 29 | + |
| 30 | +This repo contains email templates. They are located in the folder /custom-pages/emails |
| 31 | + |
| 32 | +You can run npm start in the emails folder to generate the emails as html files with inline css. These get built inside the emails folder but are not tracked. If you want to make changes, change the template or styles files in the src folder, not the built files. |
| 33 | + |
| 34 | +The version of node for the emails is purposefully lower than that for the pages, as it needs to work with gulp. The versions are pinned with volta so you don't need to worry about setting them yourself, and the build steps in team city reflect this. |
| 35 | + |
| 36 | +### Other stuff |
25 | 37 |
|
26 | 38 | All the other files in this repo are mostly blank configuration templates deployed to Auth0 to configure the tenants. The secure configuration values are stored in Octopus Deploy and are inserted at deployment time.
|
27 | 39 |
|
28 | 40 | ## Stack
|
29 | 41 |
|
30 | 42 | - [React](https://reactjs.org/) front-end
|
31 | 43 | - [Jest](https://facebook.github.io/jest/) for JavaScript tests
|
| 44 | + |
| 45 | +- [Gulp](https://gulpjs.com/) building emails |
32 | 46 |
|
33 | 47 | - [Configuration Deployment Command Line Client](https://auth0.com/docs/extensions/deploy-cli)
|
34 | 48 | - [Configuration Directory Structure](https://auth0.com/docs/extensions/deploy-cli/guides/import-export-directory-structure)
|
35 |
| - |
|
0 commit comments