# Terraform: getting "payment required" for auth0\_branding

**URL:** <https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598>\
**Category:** Get Help\
**Tags:** branding-mangement-api, management-api, free-trial\
**Created:** [February 21, 2025, 3:00pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598 "2025-02-21T15:00:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxim\_naidenov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/maxim_naidenov/32/10259_2.png) [@maxim\_naidenov](https://community.auth0.com/u/maxim_naidenov)\
**Post date:** [February 21, 2025, 3:00pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/1 "2025-02-21T15:00:40Z")

</div>

Hi,

I am still on the free plan and as I just checked the pricing page on the website, the “Branded forms (Login, Signup, etc.) and 1 Custom Domain\*” are still listed as available for this plan. But at the same time, I am getting:

Error: 402 Payment Required: A paid subscription is required for this feature.  
│  
│ with module.auth0.auth0\_branding.branding,  
│ on …/…/modules/auth0/main.tf line 486, in resource “auth0\_branding” “branding”:  
│ 486: resource “auth0\_branding” “branding” {

At the same time, I am able to change the Universal Login branding e.g. primary color and company logo URL from the management console e.g. [https://manage.auth0.com/dashboard](https://manage.auth0.com/dashboard).

So this sounds like a management API problem that wrongly expects a paid subscription?

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [February 21, 2025, 7:58pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/3 "2025-02-21T19:58:58Z")

</div>

Hi @maxim_naidenov,

Welcome back to the Auth0 Community and thank you for your post.

Even though you are on a free membership you are able to configure the default settings of the Universal Login, but if you are trying to customize the Signup, Login or other prompts available from the Dashboard in the Advanced Options - Custom text section this error will pop up

> Response from Management API "This feature is not available for your plan. To create or modify prompt templates, please upgrade your account.

This also aligns with our [Pricing](https://auth0.com/pricing) page.

 ![Screenshot 2025-02-21 at 21.57.28](https://global.discourse-cdn.com/auth0/original/3X/d/c/dcdad86b615f377eb676201c91135aa73a68a68b.png)

I hope this helped.  
Best regards,  
Remus

---

<div class="post-metadata">

**Author:** ![maxim\_naidenov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/maxim_naidenov/32/10259_2.png) [@maxim\_naidenov](https://community.auth0.com/u/maxim_naidenov)\
**Post date:** [February 23, 2025, 7:58pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/4 "2025-02-23T19:58:23Z")

</div>

Hi @remus.ivan,

The terraform resource [auth0\_branding](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/branding) is responsible for the “basic” branding e.g. logo, primary and background colors. These are exactly the things that I can change over the web console. But with terraform configuration, it fails with the mentioned error so sounds like an issue in the terraform provider or the API this provider uses.

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [February 24, 2025, 7:57pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/5 "2025-02-24T19:57:28Z")

</div>

Hi @maxim_naidenov,

Thank for your reply.

I understand your possible confusion in this scenario, since our documentation does not clearly state the difference between using the Terraform provider or the Dashboard directly, but this is currently in progress for proper handling.

If you are using the `GET /api/v2/branding/templates/universal-login` endpoint I will have to let you know that this one is only available for paid customers. Instead you can still use the branding theme endpoint `GET /api/v2/branding/themes/{themeId}`.

You can check out this [documentation](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/branding_theme#nestedblock--page_background) for more insights about the Auth0 Terraform provider for the branding theme.

I hope this better helps with your concern.  
Thanks,  
Remus

---

<div class="post-metadata">

**Author:** ![maxim\_naidenov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/maxim_naidenov/32/10259_2.png) [@maxim\_naidenov](https://community.auth0.com/u/maxim_naidenov)\
**Post date:** [February 26, 2025, 11:17am UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/7 "2025-02-26T11:17:49Z")

</div>

Hi @remus.ivan,

So I checked the management API and IMHO the terraform resource ‘auth0\_branding’ corresponds to the `/api/v2/branding` API. And this API sounds pretty basic e.g. to be covered by the free plan. And as mentioned, I am able to change those parameters from the Web console as expected. But the terraform provider is having those problems with auth0\_branding. Maybe someone from the terraform dev team could check this?

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [February 26, 2025, 6:35pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/8 "2025-02-26T18:35:17Z")

</div>

Hi @maxim_naidenov,

I understand your point of view, but the auth0\_branding resource uses the `GET /api/v2/branding/templates/universal-login` endpoint. This endpoint helps you configure the logo, primary or background colors from the Universal Login, but **many other features** as well, such as the ability to customize login page templates which **is not covered by a free membership** , so that is why this particular endpoint is only available for paid customers. In order to still be able to customize the logo or themes within your UL through the Management API you can use the `/themes/{themeId}` endpoint, specifically designed to work when only having a free plan as well. So this is not an issue that has to be addressed from the terraform provider’s end.

I hope this helps clarify the situation.  
Thanks,  
Remus

---

<div class="post-metadata">

**Author:** ![maxim\_naidenov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/maxim_naidenov/32/10259_2.png) [@maxim\_naidenov](https://community.auth0.com/u/maxim_naidenov)\
**Post date:** [February 28, 2025, 4:25pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/9 "2025-02-28T16:25:19Z")

</div>

Hi @remus.ivan,

Thank you for the detailed explanation. I have just one more question: Is there a Terraform resource that I can use to customize the logo and basic colors of the Universal Login while still using the free plan?

Regards,  
Maxim

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [February 28, 2025, 6:02pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/10 "2025-02-28T18:02:51Z")

</div>

Hi @maxim_naidenov,

You can use this resource: auth0\_branding\_theme within the Terraform Provider. It will allow you to set the logo URL in the widget object

```auto
widget {
    header_text_alignment = "center"
    logo_height = 55
    logo_position = "center"
    logo_url = "https://google.com/logo.png"
    social_buttons_layout = "top"
  }

```

as well al other basic color options, with more details that can found under the documentation for [auth0\_branding\_theme](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/branding_theme#nestedblock--page_background) in Terraform.

This resource is associated with this api endpoint: /api/v2/branding/themes/{themeId}, available for **free customers**.

Thanks,  
Remus

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 14, 2025, 6:03pm UTC](https://community.auth0.com/t/terraform-getting-payment-required-for-auth0-branding/182598/11 "2025-03-14T18:03:00Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
