Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozilla-iam/auth0-deploy
Rules and hosted pages (lock) used for the Auth0 instances of Mozilla.
https://github.com/mozilla-iam/auth0-deploy
mozilla
Last synced: 26 days ago
JSON representation
Rules and hosted pages (lock) used for the Auth0 instances of Mozilla.
- Host: GitHub
- URL: https://github.com/mozilla-iam/auth0-deploy
- Owner: mozilla-iam
- License: mpl-2.0
- Created: 2016-10-18T23:26:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T19:14:51.000Z (2 months ago)
- Last Synced: 2024-10-24T01:58:13.120Z (2 months ago)
- Topics: mozilla
- Language: JavaScript
- Homepage:
- Size: 1.51 MB
- Stars: 7
- Watchers: 12
- Forks: 23
- Open Issues: 70
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# auth0-actions
[Auth0 Actions](https://auth0.com/docs/customize/actions) used by the Mozilla IAM SSO system.
You can find more information about Auth0 at https://www.auth0.com## Branches
`master`:
The master branch is used to manually deploy actions to the Production Auth0 tenant via Terraform## Deployment & CI
Actions are deployed with Terraform
To deploy to the Auth0 dev tenant
Make sure `AUTH0_DOMAIN`, `AUTH0_CLIENT_ID`, and `AUTH0_CLIENT_SECRET` are set for the dev tenant.
```
$ cd tf
$ terraform workspace dev
$ terraform plan -out=terraform-dev.plan
$ terraform apply terraform-dev.plan
```To deploy to the Auth0 prod tenant, use the same procedure except with prod env credentials and the workspace set to `prod`
## Style
Please follow the [Google JavaScript Style Guide](https://google.github.io/styleguide/jsguide.html)
## Testing
Test are run by GitHub actions on every Pull Request.
To run the tests locally, first setup your testing environment.This is a one time step
* `npm install`
Next run the tests
* `npm run tests`