question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Environment switching for same tenant/account

See original GitHub issue

Motivation

I’m contributing to a large project that relies very heavily on Preview Apps provided by Netlify. Preview Apps are demo sites that are created automatically for Pull Requests. The master branch serves as the production branch.

In this setup, we don’t have staging, functional testing or production environments per se. Any branch can be used by a customer if it offers value to them. Sometimes a branch could require Auth0 configuration that is unique to that branch. For example, we might want to add another app that is only available on that branch.

I spent quite a bit of time trying to figure out how to get this working, but I realized that this is not possible without creating separate tenants/accounts for each branch. This is not workable because tenants can’t be created via the API.

Approach

I would really love to see some kind of Environments setup that would allow me to specify a group of environment variables that would overwrite the settings of the account. Ideally, I would be able to add a file to a Pull Request that would override settings for that particular deployment of the application.

What are the changes that this could become possible in the near future?

FYI: I borrowed Environment switching terminology from the description in #86.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tarascommented, Feb 8, 2022

Yeah, no worries. The simulator gives us the ephemeral tenants that we need. If someone is looking for this, they can use our simulator since it’s open source.

0reactions
willveddcommented, Feb 8, 2022

@taras Thanks for the update. I understand the request, and unfortunately, Auth0 doesn’t support ephemeral tenants that you can spin-up on demand for feature branches and other tests. But if that changes in the future, I’ll follow-up on this thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate an environment to a different tenant - Power Platform
You can use the tenant-to-tenant migration feature to request an environment in one tenant be moved * to another tenant. This feature enables ......
Read more >
Set Up Multiple Environments - Auth0
Simply create a new tenant for each environment to guarantee isolation between them. You can easily switch between tenants using the tenant chooser...
Read more >
Multi tenant management in the Microsoft 365 admin center
Multi- Tenant Management in Microsoft 365: It doesn't have to be painful! This session covers the investments we have made in the ...
Read more >
Multi-tenant solutions - Okta Developer
Important: When implementing a multi-tenant solution, ensure that all tenants are on the same version of Okta, either Okta Classic or Okta Identity...
Read more >
11 Working in a Multi-Tenant Environment
Single Sign-On Account (SSO) — To have the capability to switch client ... New User Creation/Association — Argus Insight lets you use the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found