--- title: Pre authentication context description: The pre authentication policy context defines how and when a policy is enforced during the login process. The policy used in this context executes before your users see a login screen. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/authentication/pre-auth-context.html release: australia product: Authentication classification: authentication topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Authentication policy contexts, Adaptive authentication, Authentication, Access Management] --- # Pre authentication context The pre authentication policy context defines how and when a policy is enforced during the login process. The policy used in this context executes before your users see a login screen. ## Pre authentication context record Policies in the pre authentication context execute when a user first accesses the instance, before they see a login screen. You can use the pre authentication context to allow or deny access before your users are prompted for login credentials based on your selected policy. Because these policies evaluate before a user enters any information, those policies can’t take criteria such as a user's roles or groups into account. Use the fields in the **Pre Authentication policy context** record to define how your instance uses your policy.
| Field | Description |
|---|---|
| Name | Name of the policy context. This field is static and can’t be changed. |
| Description | Description of the context |
| Default Policy | Defines the default behavior of this context when evaluating the policy. Select from the following options.- **Allow Policy** Denies access to all users by default, and only allows access when the conditions the policy selected in the **Allow Policy** field evaluate to true. - **Deny Policy** Allows access to all users by default, and only denies access when the conditions the policy selected in the **Deny Policy** field evaluate to true. |
| Allow Policy | The policy used for this context uses. This field appears only when the **Default Policy** field is set to **Allow Policy**. |
| Deny Policy | The policy used for this context uses. This field appears only when the **Default Policy** field is set to **Deny Policy**. |