Auth0 Home Blog Docs

Github connection with multi tenant app




I’m trying to work out the best setup for our multi tenant application using the github connection. Each tenant has their own subdomain. If I create one Auth0 tenant for each of our tenants, and try to share the Github OAuth application, I run into a problem because you can only configure the Github OAuth app with one callback URL, and it cannot contain wildcards. The alternatives I can see are:

  1. create a new Github OAuth app for each tenant
  2. do not use the tenants feature of Auth0, and put all our users under the one tenant

I’m not super keen on either of these options. Is there a third option that I haven’t seen? Has anyone gone with one of these solutions, and what are the pros/cons you have found?

Thanks in advance.