# Status of Auth0 github deploy extension

**URL:** <https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240>\
**Category:** Get Help\
**Created:** [October 2, 2018, 5:35pm UTC](https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240 "2018-10-02T17:35:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![svelez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/svelez/32/8861_2.png) [@svelez](https://community.auth0.com/u/svelez)\
**Post date:** [October 2, 2018, 5:35pm UTC](https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240/1 "2018-10-02T17:35:03Z")

</div>

Hello All,

I am trying to get a github repo set up to automatically configure our Auth0 tenants, and right now, I am running into trouble getting a `connections` folder recognized. From what i can tell from reading through [GitHub - auth0-extensions/auth0-source-control-extension-tools: Supporting tools for the Source Control extensions · GitHub](https://github.com/auth0-extensions/auth0-source-control-extension-tools), this should be a recognized configuration type, but the github deploy extension does not process it:

> <https://github.com/auth0-extensions/auth0-github-deploy/blob/4fee63c037f756a5cdb7e4f9594db2edca1a55b9/server/lib/github.js#L409>

Is this a deliberate exclusion because the functionality is not ready, or is it just a pending TODO?

More generally, the extension does appear to have much more functionality available than what is documented ([https://auth0.com/docs/extensions/github-deploy](https://auth0.com/docs/extensions/github-deploy)). What is the policy on that? Is available functionality supported, or just what is documented officially?

Finally, is this the best solution for tracking auth0 configuration as code or are there better options?

Thanks so much for the information.

Steven

---

<div class="post-metadata">

**Author:** ![npatel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/npatel/32/15222_2.png) [@npatel](https://community.auth0.com/u/npatel)\
**Post date:** [October 10, 2018, 11:21am UTC](https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240/2 "2018-10-10T11:21:15Z")

</div>

```auto
  database-connections
    my-connection-name
      get_user.js
      login.js

```

This folder structure works for our github extension. I followed steps from [https://auth0.com/docs/extensions/github-deploy](https://auth0.com/docs/extensions/github-deploy) though. Do you get error when you do deploy from here or just that this folder does not get deployed?

 ![image](https://global.discourse-cdn.com/auth0/original/2X/8/8c9d7b1611cc45fef578b8d4095343dbedc3844f.png)

I don’t have have a good answer to your last question on if config as code is better or not. But it is definately best for us where we are trying to setup diff env as diff tenants but don’t want to copy-paste all configs again. So build in one place \> commit to code and let it deploy to other tenants.

---

<div class="post-metadata">

**Author:** ![svelez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/svelez/32/8861_2.png) [@svelez](https://community.auth0.com/u/svelez)\
**Post date:** [October 10, 2018, 3:30pm UTC](https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240/3 "2018-10-10T15:30:13Z")

</div>

Thanks for the information, but from what I can tell reading the docs and reviewing the code, the `database-connections` folder is for configuring custom database connections. This is not what I need. Instead, I would like to create and configure standard Auth0 user database connections.

And like you, I do prefer to use configuration as code, I only meant to ask if there was some solution for this which was more complete. I have found some interesting Auth0 terraform plugins for example, but those also seem to be works in progress.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [October 12, 2018, 2:09am UTC](https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240/5 "2018-10-12T02:09:46Z")

</div>

After checking with our support team @svelez, I was able to confirm that we only support deploying scripts that have been defined (e.g. custom db connection scripts and rules) as stated [here](https://auth0.com/docs/extensions/github-deploy#deploy-database-connection-scripts).

However if you’re up to the task you can automate the tenant setup through the code directly, and leverage the [Management API](https://auth0.com/docs/api/management/v2) to tackle anything. You could store your configuration as `json` files, and then call the appropriate API endpoints passing the data from the `json` configs to recreate everything.

I hope this helps answer your question but if you have any more please feel free to ask. Thanks!

---

<div class="post-metadata">

**Author:** ![svelez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/svelez/32/8861_2.png) [@svelez](https://community.auth0.com/u/svelez)\
**Post date:** [October 12, 2018, 3:44am UTC](https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240/6 "2018-10-12T03:44:42Z")

</div>

Thanks for the response! I did end up writing a custom script that reads json from disk and posts to the management API since that seemed the most expedient solution. It seems a bit disjoint this way, but it will work.

You mention that what is stated on the referenced documentation page for the github extension is what is supported, but I have discovered that in addition to what is documented, configuration of clients/applications and resource-servers/APIs also “works” there may be other bits I haven’t tried or looked for because I didn’t need it. Does this functionality’s unsupported status simply mean “use at your own risk”, or “it may not be there tommorrow…” or something else?

Thanks,  
Steven

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [October 16, 2018, 5:13pm UTC](https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240/7 "2018-10-16T17:13:34Z")

</div>

There could be several reasons why various functionality may remain undocumented such as the documentation lagging behind the development of the extension or the functionality not being fully implemented and/or tested yet.

We do not recommend using undocumented features as it is possible that the behavior of these features could change in the future or it may be decided to remove the undocumented feature at some point.

With that being said, you may use undocumented features but we cannot guarantee that we will be able to support any issues that you encounter. If you do encounter issues or bugs with documented or undocumented functionality you may report and issue in the GitHub repo: [Issues · auth0-extensions/auth0-github-deploy · GitHub](https://github.com/auth0-extensions/auth0-github-deploy/issues)

---

<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:** [November 15, 2018, 5:13pm UTC](https://community.auth0.com/t/status-of-auth0-github-deploy-extension/16240/8 "2018-11-15T17:13:35Z")

</div>

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