# terraform-provider-auth0
**Repository Path**: mirrors_reMarkable/terraform-provider-auth0
## Basic Information
- **Project Name**: terraform-provider-auth0
- **Description**: Auth0 Terraform Provider
- **Primary Language**: Unknown
- **License**: MPL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-04-28
- **Last Updated**: 2025-11-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Auth0 Terraform Provider
========================
[](https://github.com/alexkappa/terraform-provider-auth0/actions)
[](https://codeclimate.com/github/alexkappa/terraform-provider-auth0/maintainability)
[](https://codeclimate.com/github/alexkappa/terraform-provider-auth0/test_coverage)
[](https://gitter.im/terraform-provider-auth0/community)
Sponsors
--------
|
|
If you want to quickly implement a secure authentication flow with Terraform, create a free plan at [auth0.com/developers](https://auth0.com/developers?utm_source=GHsponsor&utm_medium=GHsponsor&utm_campaign=terraform_auth0_provider&utm_content=auth).
|
| :-: | :- |
|
| If you or your company relies on this provider and would like to ensure its continuing support please consider [sponsoring](https://github.com/sponsors/alexkappa). |
Usage
-----
**Terraform 0.13+**
Terraform 0.13 and higher uses the [Terraform Registry](https://registry.terraform.io/) to download and install providers. To install this provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`.
```tf
terraform {
required_providers {
auth0 = {
source = "alexkappa/auth0"
version = "0.17.1"
}
}
}
provider "auth0" {}
```
```sh
$ terraform init
```
**Terraform 0.12.x**
For older versions of Terraform, binaries are available at the [releases](https://github.com/alexkappa/terraform-provider-auth0/releases) page. Download one that corresponds to your operating system / architecture, and move to the `~/.terraform.d/plugins/` directory. Finally, run terraform init.
```
provider "auth0" {}
```
```sh
$ terraform init
```
See the [Auth0 Provider documentation](https://registry.terraform.io/providers/alexkappa/auth0/latest/docs) for all the available resources.
Developers
----------
If you wish to work on the provider, you'll need [Go](http://www.golang.org) installed on your machine (version 1.10+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.
On how to develop custom terraform providers, read the [official guide](https://www.terraform.io/docs/extend/writing-custom-providers.html).
To compile the provider, run `make build`. This will build the provider and install the provider binary in the `$GOPATH/bin` directory.
```sh
$ make build
...
$ $GOPATH/bin/terraform-provider-auth0
...
```
In order to test the provider, you can simply run `make test`.
```sh
$ make test
```
In order to run the full suite of Acceptance tests, the following environment variables must be set:
```sh
AUTH0_DOMAIN=
AUTH0_CLIENT_ID=
AUTH0_CLIENT_SECRET=
```
Then, run `make testacc`.
*Note:* The acceptance tests make calls to a real Auth0 tenant, and create real resources. Certain tests, for example
for custom domains (`TestAccCustomDomain`), also require a paid Auth0 subscription to be able to run successfully.
At the time of writing, the following configuration steps are also required for the test tenant:
* The `Username-Password-Authentication` connection must have _Requires Username_ option enabled for the user tests to
successfully run.