Best Practice
Almost all applications need Internationalization and/or Localization in one form or another. Auth0 makes it easy to add, but you need to account for it up front: retro-fitting localization, for example, can be a painful process if left too late.- Do you need to brand your login page?
- Do you need to localize your login page?
- If you are sharing an Auth0 tenant across customer organizations, should you add organization-specific branding to their login experience?
- How can you customize emails so that they’re not just branded, but vary based on user preference?
- How will users know that they’re still on your domain when they see your login page?
- What do you need to do to provide additional browser security (e.g., implement Extended Validation)?
- Where do you want to direct users in the event of errors?
Best Practice
To provide helpful resources for users who experience problems, you should also configure a friendly name and a logo, as well as provide the support email address and URL for your organization. To learn how, see Dashboard Tenant Settings.Universal login and login pages
Universal Login is the recommended method for authenticating users, and it centers around use of the Login page. You can customize the Login page to support your organization’s branding requirements.Best Practice
To customize Universal Login pages, you can modify your page themes as well as create dynamic page templates.If you choose to implement Classic Login and customize the Login page script, we strongly recommend that you make use of version control. To do this, you should deploy the script to your Auth0 tenant via deployment automation or via one of the alternative strategies.Branding login by organization
Whether or not you need to do special customization on the Universal Login page is determined by how you plan to manage your customers’ organization. Before reading through this section, make sure you have read through the Universal Login section and know how you are approaching organizations by reviewing Multiple Organization Architecture. If your organization users will all be isolated from each other, it’s important to make it clear on the Universal Login page which organization the login page is for. The easiest way to do this is to use the Organizations Feature which provides you a way to store logo, primary color, and background color which will be used to customize the branding on the Universal Login Page once the organization has been identified either by passing org_id from the application or the user entering their organization at the organization prompt.Custom domain naming
By default, the URL associated with your tenant will include its name and possibly a region-specific identifier. For example, tenants based in the US have the a URL similar tohttps://example.us.auth0.com
while those based in Europe have something that is of the fashion https://example.eu.auth0.com
. A Custom Domain offers a way of providing your users with a consistent experience by using a name that’s consistent with your organization’s brand.
Only one custom Domain Name can be applied per Auth0 Tenant, so if you absolutely must have independent domain name branding then you will require an architecture where multiple Auth0 Tenants are deployed to production.
If your customer organizations will be isolated from each other, and you require that users are presented a login page for each organization via a custom domain URL, then your only option is to create a separate tenant for each organization.
Email template customization
Auth0 makes extensive use of email to provide both user notifications and to drive the functionality needed for secure identity management (for example, email verification, account recovery, and brute force protections), and Auth0 provides a number of templates for these.Before customizing email templates, please set up your Email Provider.
Password reset page customization
The Password Reset page is used whenever a user takes advantage of password change functionality and, as with the login page, you can customize it to reflect your organization’s particular branding requirements. If your organization users will all be isolated from each other (i.e, each organization gets its own Auth0 database connection), and you are branding the Universal Login pages by organization, then it’s also important to brand things like the password reset page so users know for which organization the password change is occurring. This can be done in a couple of ways:- Create JavaScript on the Password Reset page that can pull resources from a CDN based on the connection parameter that indicates from which organization the user is coming.
- Create a separate tenant for an organization and use Universal Login to customize what is required for that organization.