# Providing web\_origins to a0deploy through environment variables

**URL:** <https://community.auth0.com/t/providing-web-origins-to-a0deploy-through-environment-variables/38218>\
**Category:** Get Help\
**Tags:** auth0-deploy\
**Created:** [February 20, 2020, 7:59pm UTC](https://community.auth0.com/t/providing-web-origins-to-a0deploy-through-environment-variables/38218 "2020-02-20T19:59:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![calqulate](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/calqulate/32/19295_2.png) [@calqulate](https://community.auth0.com/u/calqulate)\
**Post date:** [February 20, 2020, 7:59pm UTC](https://community.auth0.com/t/providing-web-origins-to-a0deploy-through-environment-variables/38218/1 "2020-02-20T19:59:07Z")

</div>

Hello, I’m trying to override the following config.json file through environment variables provided by my Bitbucket pipelines:

```auto
{
	"AUTH0_DOMAIN": "my-domain.auth0.com",
	"AUTH0_CLIENT_ID": "fakevaluehere",
	"AUTH0_CLIENT_SECRET": "fakevaluehere",
	"AUTH0_KEYWORD_REPLACE_MAPPINGS": {
		"AUTH0_TENANT_NAME": "my-domain",
		"WEB_ORIGINS": [
			"http://localhost:3000",
			"https://my-domain.com"
		]
	},
	"AUTH0_ALLOW_DELETE": true
}

```

I keep getting the following error:  
`Bad Request: Payload validation error: 'Expected type array but found type string' on property web_origins (Comma-separated list of allowed origins for use with <a href='https://auth0.com/docs/cross-origin-authentication'>Cross-Origin Authentication</a>, <a href='https://auth0.com/docs/flows/concepts/device-auth'>Device Flow</a>, and <a href='https://auth0.com/docs/protocols/oauth2#how-response-mode-works'>web message response mode</a>).`

How should I be providing the array as a string using environment variables please?

---

<div class="post-metadata">

**Author:** ![jitendra.prajapati](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jitendra.prajapati/32/13250_2.png) [@jitendra.prajapati](https://community.auth0.com/u/jitendra.prajapati)\
**Post date:** [March 25, 2020, 5:27am UTC](https://community.auth0.com/t/providing-web-origins-to-a0deploy-through-environment-variables/38218/2 "2020-03-25T05:27:48Z")

</div>

I wonder, is there any fix for this??

---

<div class="post-metadata">

**Author:** ![shay1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shay1/32/27568_2.png) [@shay1](https://community.auth0.com/u/shay1)\
**Post date:** [April 7, 2021, 5:32pm UTC](https://community.auth0.com/t/providing-web-origins-to-a0deploy-through-environment-variables/38218/3 "2021-04-07T17:32:46Z")

</div>

Found the answer in [https://auth0.com/docs/extensions/deploy-cli-tool/environment-variables-and-keyword-mappings](https://auth0.com/docs/extensions/deploy-cli-tool/environment-variables-and-keyword-mappings)

You need to use @@WEB\_ORIGINS@@ in your tenant yaml file.
