Applications

Appplications

Applications are the web, mobile, embedded or backend apps that you want to connect with Quasr for login and access control. As we follow OAuth 2.0 and OpenID Connect standards these will be OAuth 2.0 clients.

Integration

An OAuth 2.0 client can either act on behalf of a user or on its own behalf - the latter is referred to as Machine-to-Machine (M2M) or Service-to-Service (S2S). If the client is acting on behalf of a user you have the following options (for a client acting on its own behalf, see Machine (M2M)):

  • integrate your client using OpenID Connect (OIDC) and use our login UI - choose this if you want to get started quickly
  • integrate your client using OpenID Connect (OIDC) and use your own custom login UI (using the Authentication API) - choose this if you want to customize your login page
  • integrate your client using the Authentication API and embed your own custom login UI in your app - only choose this if your app sits on a constrained device (or you require no redirect / singular app)
  1. 1Client Credentials grant: the application acts on its own behalf (M2M)
  2. 2JWT Bearer grant: embedded login - only for constrained devices
  3. 3Authorization Code grant: users log in through a (hosted) login page
  4. 4Not part of your organization, so users consent to the scopes and claims it requests

Internal

Clients will be by default internal but you can also create external clients. These reflect clients that don't belong to your organization, such as 3rd party apps, and have the following effects:

  • users must give consent when granting scopes or claims (if consent is required for the controls)
  • client is enforced to enroll with external factors only (for example client secrets or keys)
  • client is enforced to accept legal controls when requesting access (on its own behalf)
  1. 1Turn off for third-party applications - their users then consent to the scopes and claims. Can't be changed after creation

Configuration

All clients have the following general configuration options:

  • Label (label: string) - Textual label returned from the Authentication API to the Login UI.
  • Status (status: string) - The current status of the client. If disabled, the client can't be used and all claims, enrollments, rules, permissions and consents will be locked - also tracked tokens will be revoked. Disable a client that shouldn't be used for now, but lock a client that is compromised or misbehaving - see Locking below for the difference.
  • Internal (config.internal: boolean) - Indicates whether the client is internal, i.e. part of your organization.
  • Scopes (config.scopes: string[]) - Indicates which OAuth 2.0 scopes the client is allowed to request.
  • Grant Types (config.grant_types: string[]) - These are the allowed OAuth 2.0 grant types. Valid values are authorization_code, urn:ietf:params:oauth:grant-type:jwt-bearer, client_credentials and/or refresh_token.
  • Login URI (config.login_uri: string) - The URL of your login page. Defaults to the Login UI of your tenant. Only relevant with an Authorization Code grant (authorization_code).
  • Redirect URIs (config.redirect_uris: string[]) - These are the allowed redirect URLs of your application where the ID token and/or authorization code will be delivered. Only relevant with an Authorization Code grant (authorization_code).
  • Response Types (config.response_types: string[]) - These are the allowed OAuth 2.0 response types. Valid values are code, code id_token, id_token and/or none. Only relevant with an Authorization Code grant (authorization_code).
  • Code Challenge Methods (config.code_challenge_methods: string[]) - These are the allowed OAuth 2.0 code challenge methods. Valid values are plain and/or S256, both by default. Only relevant with an Authorization Code grant (authorization_code).
  • Signed Request (config.signed_request: boolean) - Indicates whether requests should be signed by your application. Only relevant with an Authorization Code grant (authorization_code).
  • JWKS Endpoint (config.jwks_uri: string) - The publicly-accessible URL of the JWKS key set of your application. Only relevant if requests are signed.
  • Authentication Method (config.authentication.method: string) - This is the authentication method for your application at the token endpoint, e.g. when exchanging an authorization code or requesting a token with the client credentials grant (see Machine (M2M)). Valid values are client_secret_basic, client_secret_post, private_key_jwt, session or none.
  • Authentication Factor (config.authentication.factor: string) - The ID of the factor enrollment used for authentication. Only relevant if the authentication method is set to client_secret_basic, client_secret_post or private_key_jwt.
  • Access Token Expiration (config.tokens.access.exp: string) - Expiration of access tokens, i.e. how long the application can retain (user) access. Default is 1 day and maximum is 30 days.
  • Access Token Audiences (config.tokens.access.aud: string[]) - The audiences the access token can be used for. This will typically be your own API.
  • Access Token Extension (config.tokens.access.ext: string) - The ID of the extension which is triggered right before an access token is generated. The extension can inject custom claims and scopes.
  • Access Token Encryption (config.tokens.access.jwk: string) - The publicly-accessible URL of the JWKS key set of your backend to encrypt the access token with.
  • Access Token IP Binding (config.tokens.access.ipb: boolean) - Whether the access token is IP bound, i.e. if the token can only be used from the original IP. This aids in protection against token theft but invalidates the token if the account roams and moves across different IPs. Disabled by default.
  • Code Token Encryption (config.tokens.code.enc: boolean) - Whether the authorization code is encrypted. Enabled by default.
  • Code Token IP Binding (config.tokens.code.ipb: boolean) - Whether the authorization code is IP bound, i.e. if the token can only be used from the original IP. This aids in protection against token theft but invalidates the token if the account roams and moves across different IPs. Disabled by default.
  • Identity Token Expiration (config.tokens.identity.exp: string) - Expiration of identity tokens, i.e. how fast the application must consumer the token. Default is 5 minutes and maximum is 1 day.
  • Identity Token Extension (config.tokens.identity.ext: string) - The ID of the extension which is triggered right before an ID token is generated. The extension can inject custom claims.
  • Identity Token Encryption (config.tokens.identity.jwk: string) - The publicly-accessible URL of the JWKS key set of your application to encrypt the ID token with.
  • Refresh Token Expiration (config.tokens.refresh.exp: string) - Expiration of refresh tokens, i.e. how long the client can use it to obtain new tokens. Default is 1 week and maximum is 1 year.
  • Refresh Token Encryption (config.tokens.refresh.enc: boolean) - Whether the refresh token is encrypted. Enabled by default.
  • Refresh Token IP Binding (config.tokens.refresh.ipb: boolean) - Whether the refresh token is IP bound, i.e. if the token can only be used from the original IP. This aids in protection against token theft but invalidates the token if the account roams and moves across different IPs. Disabled by default.

Locking

When a client is compromised or misbehaving, for example because its secret or private key leaked, an admin can lock it (status: LOCKED), either with the Lock button of the client in the Admin UI or by updating its status to LOCKED via the Management API. Locking a client:

  • revokes all of its tracked tokens, so the application loses its access
  • locks all of its claims, enrollments, rules, permissions and consents, so the application can't authenticate or request tokens anymore and users can't sign in to it
  • sends an email to your tenant's security email (config.contacts.security, see Network), if set, like the one shown under Users

Disabling and locking have the same effect on access, but serve a different purpose:

Disabled Locked
Use whenThe client shouldn't be used for now, for example because the application is retired or pausedThe client is compromised or misbehaving, for example because its secret or private key leaked
HowStatus in the Admin UI, or DISABLED via the Management APILock button in the Admin UI, or LOCKED via the Management API
AccessTokens revoked; claims, enrollments, rules, permissions and consents locked; the application can't request tokens and users can't sign in to itSame as disabled
Security notificationNoYes, to the security email
UpdatesStill possibleNot possible until unlocked
RestoreRe-enable it any timeUnlock it (admin only)
SwitchCan't be locked, re-enable it firstCan't be disabled, unlock it first

A locked client stays locked until an admin unlocks it, either with the Unlock button of the client in the Admin UI or by updating its status back to ENABLED via the Management API. Unlocking restores the client and all of its claims, enrollments, rules, permissions and consents to their previous state. The time of the lock or unlock is visible as the client's last update (updated_at).

Quasr Security can also lock a client it deems suspicious, for example when investigating abuse of the platform. Such a lock has the same effect as one by an admin, including the email, and you unlock the client the same way.

2026.11.22 | © Copyright 2026 Quasr BV