https://github.com/nice-digital/identity-hostedpages
Identity and Access Management (IdAM) Hosted pages - containing all the pages and blank configuration templates deployed to Auth0
https://github.com/nice-digital/identity-hostedpages
Last synced: about 1 year ago
JSON representation
Identity and Access Management (IdAM) Hosted pages - containing all the pages and blank configuration templates deployed to Auth0
- Host: GitHub
- URL: https://github.com/nice-digital/identity-hostedpages
- Owner: nice-digital
- License: mit
- Created: 2019-02-05T16:12:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T16:17:18.000Z (about 1 year ago)
- Last Synced: 2025-04-23T17:30:24.812Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.94 MB
- Stars: 0
- Watchers: 9
- Forks: 2
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nice Identity and Access Management (IdAM) Hosted Pages
> Contains the login/register/password reset etc pages deployed to Auth0.
> 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.
> Also blank templates for the configuration of the Auth0 tenants. The actual configuration values are inserted dynamically on deployment via Octopus deploy.
Table of contents
- [Stack](#stack)
## What is it?
### Pages
This repo contains a react app, created using create-react-app. It's located in the folder: /custom-pages/universal-login
That react app, builds a login page, password reset page and error page, to the location /custom-pages/pages
The whole custom-pages directory is then deployed to the Auth0 tenant.
### Emails
This repo contains email templates. They are located in the folder /custom-pages/emails
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.
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.
### Other stuff
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.
### Action Secret Substitution and Transformation
If the octo deployment is being created from scratch, you will need to create a step template set up called TransformActionSecrets. The scripts in their basic state will error if Auth0 tries to import them.
Each action will have two steps associated with it. One for substituting the secrets and one for transforming them.
- The substitution is done using a standard script which comes with octo called "Variables - Substitute in Json file".
- The transformation is done using a custom step template, the code for which is stored in the octo-step-scripts folder.
## Stack
- [React](https://reactjs.org/) front-end
- [Jest](https://facebook.github.io/jest/) for JavaScript tests
- [Gulp](https://gulpjs.com/) building emails
- [Configuration Deployment Command Line Client](https://auth0.com/docs/extensions/deploy-cli)
- [Configuration Directory Structure](https://auth0.com/docs/extensions/deploy-cli/guides/import-export-directory-structure)