Quasr comes with three ready-to-use interfaces, hosted for every tenant: the Login UI where your users sign up and log in, the Account UI where they manage their account, and the Admin UI where your team manages the tenant. You can use them as they are, brand them with your own color and logo, or use your own next to them, built on the Quasr APIs (see Custom UIs).
The Login UI is available at https://{tenant_id}.login.quasr.io and works for every application in your tenant out of the box. It offers the factors of your tenant, takes users through signup or login until they reach the score your application requires, asks for the consents and personal data the application needs, and sends them back to the application.
Your application doesn't link to the Login UI directly. It sends the user to the OAuth 2.0 / OpenID Connect authorization endpoint of your tenant, and Quasr redirects the user to the Login URI of the application, which is the Login UI unless you set your own. Every parameter of the authorization request is passed on to the Login UI, so the application can control the Login UI with the parameters below. See Applications — Browser for the full flow.
Users can switch between login and signup at the bottom of the Login UI. A login or signup session lasts as long as set for your tenant (see Tokens — Session), so a user who comes back within that time, e.g. for another application, continues with that session instead of logging in again - unless the application requires a higher score than the session has.
https://{tenant_id}.login.quasr.io - without path or trailing slash. New factors contain it by default, so check it when you change the Redirect URIs, e.g. to add your own UI. Otherwise logging in or signing up with that factor fails.You brand the Login UI, Account UI and Admin UI of your tenant together, in the Interfaces section of your tenant in the Admin UI at https://{tenant_id}.admin.quasr.io/tenant or with the Management API (see Tenants — Configuration):
config.interfaces.color) - Your primary color, used for buttons, links and highlights. In dark mode a lighter shade of it is used where needed, so text stays readable.config.interfaces.logo) - Your logo, a png or jpeg of at most 440x440 pixels, shown at the top. Without a logo, the Quasr logo is shown in your color (white in dark mode).label) - The label of your tenant, shown at the top next to Login or Signup.Default: the Quasr logo and color
Branded: Example Corp's own color and logo
Other texts come from your configuration as well: the label of each factor, the label of the application (shown at the bottom, as the application the user is logging in to), and the label and link of your legal controls such as terms and privacy policy, which users accept when signing up.
The Login UI options (config.interfaces.login.options) change how factors are presented, in the same Interfaces section:
highlight_identity_providers) - Shows identity providers (Google, Apple, Microsoft, etc.) separately at the top, with their logos.highlight_one_step_options) - Adds a star to factors that complete the login in one step, i.e. whose score reaches what the application requires.show_scores) - Shows the score of each factor and of the progress bar. Useful while testing, to understand the scores.No options: every factor in one list
All options
Besides the standard parameters of the authorization request, the Login UI reads the following:
mode) - What the user does and which factors are offered, see Modes.prompt) - With login the user must log in again, even with a valid login session, e.g. to switch accounts. Other values have no effect on the Login UI.ui_locales) - The preferred languages of the user, most preferred first and separated by spaces (e.g. nl-BE fr), see Language.scope) - The scopes requested by the application. The Login UI only asks consent for these.login_hint, max_age and acr_values are currently not supported by the Login UI. To require a stronger login, set a higher score on the controls of the application instead (see Controls — Configuration).The mode parameter takes one or more of the following values, separated by spaces (e.g. mode=signup external):
login) - Starts with login. This is the default.signup) - Starts with signup, e.g. for a Sign Up button in your application.internal) - For your team: offers only factors and attributes marked internal, and leaves out the opt-ins and notes about storing personal data meant for customers. Signup is only possible with an invite token. See Internal Mode.external) - For your customers: offers only factors that are not internal.mode=external: only the factors for your customers
mode=internal: only the factors for your team, here Login with Quasr and the company's identity provider
The Login URI of an application may contain parameters of its own. They are kept, and come before the parameters of the authorization request, so they take precedence. This lets you fix the mode per application, without changing the application itself. For example, to always offer only internal factors for an internal tool, set its Login URI to https://{tenant_id}.login.quasr.io/?mode=internal. The Admin UI is a common example.
The Login UI serves both your customers and your team. Internal mode adapts it to your team: internal users with internal factors and attributes, who don't need the explanations and choices meant for customers. The Login UI decides whether it's in internal mode as follows, the first that applies:
internal or external mode of the request, or the one fixed in the Login URI of the application (see Fixed Parameters). This is kept while the browser tab is open, until the next request.| Internal | External or neither | |
|---|---|---|
| Login factors | Only internal factors | Only factors that are not internal (external), or both (neither) |
| Signup | Only with an invite token | With the factors that are not internal, or an invite token |
| Details step (attributes) | Only internal attributes | Only attributes that are not internal |
| Capture of email, phone, etc. and identity provider profile details | Captured without asking, where the factor allows it | Only with the opt-in of the user |
| Data notes and what each consent shares | Not shown | Shown |
Signup in external mode: accept your legal controls, then pick a factor
Signup in internal mode: only with an invite token
The Login UI asks your customers for consent at fixed moments, and tells them what happens to the data they enter, so you don't have to explain it yourself. None of this is shown in internal mode.
Users are asked for consent at the following moments. Required consents are marked with *: the user can only continue once they are checked. The opt-ins to capture data are never required and unchecked by default.
| When | Asked | For |
|---|---|---|
| Start of a signup, before the factors | I accept the {document}, linking to it | Legal controls of the application with score 0, e.g. terms of service and privacy policy |
| Signup, when choosing an email, phone, username, secret or one-time password factor | You can use my email (phone, ...) - opt-in | Capturing the input as attribute |
| Back from an identity provider (e.g. Google) that is not internal | You can use my profile details - opt-in | Capturing the claims of the provider as attributes |
| End of a login or signup, once the session reaches the score the application requires | I accept the {document}, I grant {scope} to {application} or I share my {attribute} with {application}, each with what it shares | The remaining legal, scope and claim controls of the application |
At the start of a signup: your legal controls
At the end: what the application asks for
Back from an identity provider at login
Back from an identity provider at signup
Short notes below the inputs tell users whether and where what they enter is stored. Hovering a note about storage in the EU shows the locations: AWS in Frankfurt (Germany) and Paris (France). Hovering a note about processing in the EU shows AWS in Frankfurt (Germany).
| Where | Note |
|---|---|
| Signup: password, secret, username, email, phone or one-time password factor, and identity providers | Stored as secure hash in the EU |
| Signup: private key or hosted key set | Stored securely in the EU |
| Generated password or secret / authenticator app setup | Stored as secure hash in the EU / Stored encrypted in the EU |
| Login: entering a factor | Not stored - only used to verify it's you |
| Login: email or phone of a one-time password | Not stored - only used to send a code |
| Login: private key | Not stored - never leaves this device |
| Opt-ins to capture data | Processed securely in the EU |
| Details step (attributes) | Stored encrypted in the EU |
| Consent step | Shares {attribute} below each consent, or Shares all your profile details for scopes that give access to all of them |
Signing up with an email OTP
The details step, once the score is reached
The Login UI is available in English, Dutch, French and German. It picks the language in this order:
ui_locales parameter of the request.Regional variants use their base language, e.g. nl-BE uses Dutch.
The language picker, each language in its own name
ui_locales=nl-BE: Dutch, the base language of nl-BE
The Login UI follows the light or dark mode of the user's device. Users can switch at the bottom of the Login UI, which is kept while the browser tab is open. Your color is adjusted in dark mode where needed so text stays readable, and your logo is shown as is, so choose a logo that works on both a light and a dark background.
The Login UI is built with Bootstrap form controls, and:
All three UIs are hosted by Quasr per tenant, at https://{tenant_id}.login.quasr.io, https://{tenant_id}.account.quasr.io and https://{tenant_id}.admin.quasr.io. They are updated by Quasr, so you get new features and fixes without any action on your side. See Security — UI Protection for how they are protected.
Quasr only sends users to the Login UI for applications whose Login URI points to it, so you decide per application. To stop using it entirely, set your own login UI (see Custom UIs) as the Login URI of every application, including the Quasr Account UI and Quasr Admin UI applications - or disable those (see Account UI and Admin UI).