Applications
An application in Wristband is a logical representation of your own application and everything associated to it.
Applications sit at the top of Wristband's entity hierarchy, and every other entity is encapsulated inside of it (tenants, OAuth2 clients, identity providers, users, etc.). There are typically two ways to utilize Wristband applications: environments and products.
Application Environments
Wristband does not explicitly define preset environments for you. Instead, when you create a new application, you can set a flag that determines whether production-level validations will be enforced at runtime. Examples of production validations include enforcing the usage of the https
protocol instead of http
and preventing the use of any localhost
domains. In addition, each application has its own unique domain name that can be used to associate applications to their respective environments.
For example, let's say you are developing a new application, and your company decides to use Wristband for their auth platform. At a minimum, you know you'll need one QA environment and one production environment. The way to set this up in Wristband is to create 2 Wristband applications: one for QA and one for production.
The QA environment will have production validations toggled off, while the production environment will have validations toggled on. The QA environment will be given the domain name "yourapp-qa" to make it clear which environment this represents. The production environment will simply have "yourapp" for its domain.
You can create as many applications as you need for however many environments you have.
Applications as Products
If you have more than one product line that you are taking to market, you can create a Wristband application for each product. For example, if your company created a developer tool product as well as a fintech product, you can set up them up like the following:
Multiple Products and Environments
Let's take the example above one step further. In order to successfully develop and launch the new applications for both products, you will need at minimum one development/testing environment for each product and one production environment for each product. For this example, that would result in four total applications being created in Wristband.
Updated about 1 month ago